2023-09-22 15:16:24 +02:00
|
|
|
when:
|
|
|
|
path: "*Dockerfile*"
|
|
|
|
|
2023-09-21 14:05:23 +02:00
|
|
|
steps:
|
2023-09-21 17:08:31 +02:00
|
|
|
build-main:
|
|
|
|
when:
|
|
|
|
branch: main
|
2024-01-30 12:57:44 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:3.0.0@sha256:2e6c3d6b9f1a8e76a95e1d6382d08877939e75b411ee5b5e77f22a6ad366cd3e
|
2023-09-21 14:05:23 +02:00
|
|
|
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,,}
|
2023-09-21 14:05:23 +02:00
|
|
|
tag: "latest"
|
2023-09-21 17:08:31 +02:00
|
|
|
|
|
|
|
build-branch:
|
|
|
|
when:
|
|
|
|
branch:
|
2023-09-22 14:55:28 +02:00
|
|
|
exclude: ["main"]
|
2024-01-30 12:57:44 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:3.0.0@sha256:2e6c3d6b9f1a8e76a95e1d6382d08877939e75b411ee5b5e77f22a6ad366cd3e
|
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,,}
|
|
|
|
tag: ${CI_COMMIT_BRANCH}
|