krankerl_docker/.woodpecker/build.yml

34 lines
881 B
YAML
Raw Normal View History

2024-04-29 18:01:49 +02:00
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:
2024-04-29 18:17:57 +02:00
platforms: linux/amd64
2024-04-29 18:01:49 +02:00
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:
2024-04-29 18:17:57 +02:00
platforms: linux/amd64
2024-04-29 18:01:49 +02:00
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}