2022-12-18 16:18:24 +01:00
|
|
|
pipeline:
|
|
|
|
# build-only:
|
|
|
|
# image: woodpeckerci/plugin-docker-buildx
|
|
|
|
# settings:
|
|
|
|
# username:
|
|
|
|
# from_secret: harbor_username
|
|
|
|
# password:
|
|
|
|
# from_secret: harbor_password
|
|
|
|
# repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
|
|
|
|
# cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
|
|
|
|
# registry: harbor.sebclem.fr
|
|
|
|
# dry_run: true
|
|
|
|
# when:
|
|
|
|
# event: [push, pull_request, manual]
|
|
|
|
|
2022-12-18 20:11:41 +01:00
|
|
|
publish:
|
2022-12-19 13:54:58 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2022-12-18 16:18:24 +01:00
|
|
|
settings:
|
2022-12-18 20:03:24 +01:00
|
|
|
platforms: linux/amd64
|
2022-12-19 13:56:23 +01:00
|
|
|
tag: next
|
2022-12-19 13:49:34 +01:00
|
|
|
repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2022-12-19 14:49:00 +01:00
|
|
|
logins:
|
|
|
|
- registry: https://harbor.sebclem.fr
|
|
|
|
username:
|
|
|
|
from_secret: harbor_user
|
|
|
|
password:
|
|
|
|
from_secret: harbor_token
|
2022-12-18 20:11:41 +01:00
|
|
|
# cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
|
2022-12-19 13:49:34 +01:00
|
|
|
|
2022-12-18 20:03:24 +01:00
|
|
|
|
2022-12-18 16:18:24 +01:00
|
|
|
# when:
|
|
|
|
# environment: production
|
|
|
|
# event: deployment
|