This commit is contained in:
parent
2621956e7b
commit
5f2fac2b5f
1 changed files with 34 additions and 0 deletions
34
.woodpecker/build.yml
Normal file
34
.woodpecker/build.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
pull: true
|
||||||
|
when:
|
||||||
|
- event: tag
|
||||||
|
- event: manual
|
||||||
|
- event: push
|
||||||
|
branch: [main]
|
||||||
|
path:
|
||||||
|
include: ['.woodpecker/*.yml', 'Dockerfile']
|
||||||
|
exclude: ['README.md']
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64, linux/arm/v7, linux/arm64
|
||||||
|
registry: https://git.verdigado.com
|
||||||
|
username: ${CI_REPO_OWNER}
|
||||||
|
password:
|
||||||
|
from_secret: GIT_ACCESS_TOKEN
|
||||||
|
repo: git.verdigado.com/${CI_REPO,,}
|
||||||
|
auto_tag: true
|
||||||
|
build_branch:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
pull: true
|
||||||
|
when:
|
||||||
|
- branch:
|
||||||
|
exclude: [main]
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64, linux/arm/v7, linux/arm64
|
||||||
|
registry: https://git.verdigado.com
|
||||||
|
username: ${CI_REPO_OWNER}
|
||||||
|
password:
|
||||||
|
from_secret: GIT_ACCESS_TOKEN
|
||||||
|
repo: git.verdigado.com/${CI_REPO,,}
|
||||||
|
tag: ${CI_COMMIT_BRANCH}
|
Loading…
Reference in a new issue