fix deploy pipeline
This commit is contained in:
parent
32c2c282a0
commit
53468c2e26
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue