2022-12-18 16:18:24 +01:00
|
|
|
pipeline:
|
|
|
|
build-only:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2023-04-20 19:27:34 +02:00
|
|
|
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2023-04-20 19:39:39 +02:00
|
|
|
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2023-04-20 19:27:34 +02:00
|
|
|
registry: git.sebclem.fr
|
2022-12-18 16:18:24 +01:00
|
|
|
dry_run: true
|
2023-07-04 16:38:22 +02:00
|
|
|
auto_tag: true
|
2022-12-18 16:18:24 +01:00
|
|
|
logins:
|
2023-04-20 19:27:34 +02:00
|
|
|
- registry: https://git.sebclem.fr
|
2022-12-18 16:18:24 +01:00
|
|
|
username:
|
2023-04-20 19:27:34 +02:00
|
|
|
from_secret: docker_user
|
2022-12-18 16:18:24 +01:00
|
|
|
password:
|
2023-04-20 19:27:34 +02:00
|
|
|
from_secret: docker_token
|
2022-12-18 16:18:24 +01:00
|
|
|
when:
|
|
|
|
event: [push, pull_request, manual]
|
|
|
|
|
|
|
|
publish:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
platforms: linux/amd64
|
2023-07-04 16:38:22 +02:00
|
|
|
auto_tag: true
|
2023-04-20 19:27:34 +02:00
|
|
|
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2023-04-20 19:39:39 +02:00
|
|
|
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2022-12-18 16:18:24 +01:00
|
|
|
logins:
|
2023-04-20 19:27:34 +02:00
|
|
|
- registry: https://git.sebclem.fr
|
2022-12-18 16:18:24 +01:00
|
|
|
username:
|
2023-04-20 19:27:34 +02:00
|
|
|
from_secret: docker_user
|
2022-12-18 16:18:24 +01:00
|
|
|
password:
|
2023-04-20 19:27:34 +02:00
|
|
|
from_secret: docker_token
|
2022-12-18 16:18:24 +01:00
|
|
|
when:
|
2023-07-04 16:38:22 +02:00
|
|
|
event:
|
|
|
|
- tag
|