Separate steps
This commit is contained in:
parent
de7bf6e903
commit
69b5830ff4
|
@ -84,9 +84,12 @@ steps:
|
|||
- git clone ssh://giteajim@git.2martens.de:22/2martens/cloud-configuration.git .
|
||||
- git checkout main
|
||||
- name: update image version
|
||||
image: mikefarah/yq:4.35.2
|
||||
image: alpine
|
||||
commands:
|
||||
- sed -i -r "s/(tag:).*/\1\ \"${DRONE_SEMVER}\"/" argocd/configserver/${DRONE_DEPLOY_TO}/overwrite_values.yaml
|
||||
- name: generate values
|
||||
image: mikefarah/yq:4.35.2
|
||||
commands:
|
||||
- cd argocd/configserver/${DRONE_DEPLOY_TO} && yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
||||
- name: save modified variable file
|
||||
image: alpine/git
|
||||
|
|
Loading…
Reference in New Issue