34 lines
No EOL
881 B
YAML
34 lines
No EOL
881 B
YAML
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
|
|
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
|
|
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} |