2023-09-21 14:05:23 +02:00
|
|
|
steps:
|
2024-06-20 16:39:03 +02:00
|
|
|
build main:
|
2023-09-21 17:08:31 +02:00
|
|
|
when:
|
2024-06-20 16:39:03 +02:00
|
|
|
- event: push
|
|
|
|
branch: main
|
2024-12-20 10:09:13 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:5.1.0@sha256:f323e0b1133f71f6712e93753dfb2d6c0fb5ec1e41d8b99b1cb2ffeadfc15fd5
|
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-20 16:39:03 +02:00
|
|
|
tags:
|
|
|
|
- 'latest'
|
|
|
|
- ${CI_COMMIT_SHA}
|
2023-09-21 17:08:31 +02:00
|
|
|
|
2024-06-20 16:39:03 +02:00
|
|
|
build branch:
|
2023-09-21 17:08:31 +02:00
|
|
|
when:
|
2024-06-20 16:39:03 +02:00
|
|
|
- event: push
|
|
|
|
branch:
|
|
|
|
exclude: ['main']
|
2024-12-20 10:09:13 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:5.1.0@sha256:f323e0b1133f71f6712e93753dfb2d6c0fb5ec1e41d8b99b1cb2ffeadfc15fd5
|
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,,}
|
2024-06-20 16:39:03 +02:00
|
|
|
tags:
|
|
|
|
- ${CI_COMMIT_BRANCH}
|
|
|
|
- ${CI_COMMIT_SHA}
|