New repo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
SebClem 2023-04-20 19:27:34 +02:00
parent c8ee1798ce
commit cd7e660d68
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -2,16 +2,16 @@ pipeline:
build-only:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
registry: harbor.sebclem.fr
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
# cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
registry: git.sebclem.fr
dry_run: true
logins:
- registry: https://harbor.sebclem.fr
- registry: https://git.sebclem.fr
username:
from_secret: harbor_user
from_secret: docker_user
password:
from_secret: harbor_token
from_secret: docker_token
when:
event: [push, pull_request, manual]
@ -20,14 +20,14 @@ pipeline:
settings:
platforms: linux/amd64
tag: latest
repo: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
cache_from: harbor.sebclem.fr/sebclem/${CI_REPO_NAME}
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
# cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
logins:
- registry: https://harbor.sebclem.fr
- registry: https://git.sebclem.fr
username:
from_secret: harbor_user
from_secret: docker_user
password:
from_secret: harbor_token
from_secret: docker_token
when:
environment: production
event: deployment