diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf2774258..1a51f41ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -121,10 +121,10 @@ update-prod: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PROD_HELM_TOKEN != null stage: publish script: - - git config user.name "Gitlab CI" - - git config user.email "noreply@example.com" - git clone https://token:${PROD_HELM_TOKEN}@gitlab.fakecake.org/git/helm-charts/tt-rss-prod.git chart - cd chart + - git config user.name "Gitlab CI" + - git config user.email "noreply@example.com" - 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