2023-09-22 15:16:24 +02:00
|
|
|
when:
|
2024-06-19 17:18:17 +02:00
|
|
|
path: '*Dockerfile*'
|
2023-09-22 15:16:24 +02:00
|
|
|
|
2023-09-21 14:05:23 +02:00
|
|
|
steps:
|
2023-09-21 17:08:31 +02:00
|
|
|
build-main:
|
|
|
|
when:
|
|
|
|
branch: main
|
2024-05-16 09:04:18 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
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,,}
|
2024-06-19 17:18:17 +02:00
|
|
|
tag: 'latest'
|
2023-09-21 17:08:31 +02:00
|
|
|
|
|
|
|
build-branch:
|
|
|
|
when:
|
|
|
|
branch:
|
2024-06-19 17:18:17 +02:00
|
|
|
exclude: ['main']
|
2024-05-16 09:04:18 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
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}
|