fix deploy pipeline
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-08-07 21:54:05 +02:00
parent 32c2c282a0
commit 53468c2e26
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -3,7 +3,8 @@ steps:
image: git.ar21.de/aaron/kustomize-ci
commands:
- git clone https://git.ar21.de/yolokube/core-deployments.git deployment-repo
- kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:${CI_PIPELINE_NUMBER} deployment-repo/dashboard/overlays/prod
- cd deployment-repo/dashboard/overlays/prod
- kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:${CI_PIPELINE_NUMBER}
when:
- branch: master
event: push
@ -11,7 +12,8 @@ steps:
image: git.ar21.de/aaron/kustomize-ci
commands:
- git clone https://git.ar21.de/yolokube/core-deployments.git deployment-repo
- kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:staging-${CI_PIPELINE_NUMBER} deployment-repo/dashboard/overlays/staging
- cd deployment-repo/dashboard/overlays/staging
- kustomize edit set image git.ar21.de/yolokube/dashboard=git.ar21.de/yolokube/dashboard:staging-${CI_PIPELINE_NUMBER}
when:
- branch:
exclude: master