diff options
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a51f41ba..2897ece9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,9 +125,10 @@ update-prod: - cd chart - git config user.name "Gitlab CI" - git config user.email "[email protected]" - - yq -ei '.app.image.tag = "${CI_COMMIT_SHORT_SHA}"' values-prod.yaml - - yq -ei '.web.image.tag = "${CI_COMMIT_SHORT_SHA}"' values-prod.yaml + - yq -ei '.app.image.tag = "'${CI_COMMIT_SHORT_SHA}'"' values-prod.yaml + - yq -ei '.web.image.tag = "'${CI_COMMIT_SHORT_SHA}'"' values-prod.yaml - git diff + - git add . - git commit -m "update image tag to ${CI_COMMIT_SHORT_SHA}" - git push origin master |