From ba705108f87fc1a94e390ab9ebf18ecdfc547342 Mon Sep 17 00:00:00 2001 From: aron Date: Fri, 30 Aug 2024 09:01:35 +0200 Subject: [PATCH] Set test- tag for api-statics at prod releases --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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