container-pre-commit/.woodpecker/.build.yaml

36 lines
958 B
YAML
Raw Normal View History

steps:
build main:
2023-09-21 17:08:31 +02:00
when:
- event: push
branch: main
2024-11-13 19:32:46 +01:00
image: woodpeckerci/plugin-docker-buildx:5.0.0@sha256:0a8e69cad4a25d641bdb51daea53ce309692c7bda1193ae04a990bb88486edd8
pull: true
settings:
platforms: linux/amd64
registry: ${CI_FORGE_URL}
username: WoodpeckerCI
password:
from_secret: gitea_token
2023-09-21 17:08:31 +02:00
repo: git.verdigado.com/${CI_REPO,,}
tags:
- 'latest'
- ${CI_COMMIT_SHA}
2023-09-21 17:08:31 +02:00
build branch:
2023-09-21 17:08:31 +02:00
when:
- event: push
branch:
exclude: ['main']
2024-11-13 19:32:46 +01:00
image: woodpeckerci/plugin-docker-buildx:5.0.0@sha256:0a8e69cad4a25d641bdb51daea53ce309692c7bda1193ae04a990bb88486edd8
2023-09-21 17:08:31 +02:00
pull: true
settings:
platforms: linux/amd64
registry: ${CI_FORGE_URL}
username: WoodpeckerCI
password:
from_secret: gitea_token
repo: git.verdigado.com/${CI_REPO,,}
tags:
- ${CI_COMMIT_BRANCH}
- ${CI_COMMIT_SHA}