set placeholder git email/name

This commit is contained in:
Andrew Dolgov 2024-02-17 12:09:34 +03:00
parent 78ce18b0e8
commit 924496e148
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ 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
- yq -ei '.app.image.tag = "${CI_COMMIT_SHORT_SHA}"' values-prod.yaml