Add .woodpecker/build.yml
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Jonathan Treffler 2024-04-29 18:01:49 +02:00
parent 2621956e7b
commit 5f2fac2b5f

34
.woodpecker/build.yml Normal file
View 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}