diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 747273990..6445e05ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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