Skip to content

Commit

Permalink
Set test- tag for api-statics at prod releases
Browse files Browse the repository at this point in the history
  • Loading branch information
aronmolnar committed Aug 30, 2024
1 parent 872e527 commit ba70510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ build-release:
- ISO_WEEK=$(date +%V)
# Ensure the version number is in the changelog for prod deployments
- |
API_STATICS_IMAGE=$CI_REGISTRY_IMAGE/api-statics:$CI_COMMIT_TAG
if [[ $CI_COMMIT_TAG =~ '^prod-.*' ]]; then
grep -qE "^## (v${VERSION_NUMBER})" CHANGELOG.md || exit 1
CACHE_RELEASE_TAG=test-$VERSION_NUMBER_LEADING_ZEROS
API_STATICS_IMAGE=$CI_REGISTRY_IMAGE/api-statics:$CACHE_RELEASE_TAG
else
CACHE_RELEASE_TAG=$CI_COMMIT_SHORT_SHA
# Build and push api-statics
Expand Down

0 comments on commit ba70510

Please sign in to comment.