container-pre-commit/.woodpecker.yaml
Renovate Bot 023a250a74
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Renovate: Pin dependencies
2024-01-30 11:57:44 +00:00

32 lines
866 B
YAML

when:
path: "*Dockerfile*"
steps:
build-main:
when:
branch: main
image: woodpeckerci/plugin-docker-buildx:3.0.0@sha256:2e6c3d6b9f1a8e76a95e1d6382d08877939e75b411ee5b5e77f22a6ad366cd3e
pull: true
settings:
platforms: linux/amd64
registry: ${CI_FORGE_URL}
username: WoodpeckerCI
password:
from_secret: gitea_token
repo: git.verdigado.com/${CI_REPO,,}
tag: "latest"
build-branch:
when:
branch:
exclude: ["main"]
image: woodpeckerci/plugin-docker-buildx:3.0.0@sha256:2e6c3d6b9f1a8e76a95e1d6382d08877939e75b411ee5b5e77f22a6ad366cd3e
pull: true
settings:
platforms: linux/amd64
registry: ${CI_FORGE_URL}
username: WoodpeckerCI
password:
from_secret: gitea_token
repo: git.verdigado.com/${CI_REPO,,}
tag: ${CI_COMMIT_BRANCH}