From 8228487649b627b8f22f0edfea311edc185a8ccb Mon Sep 17 00:00:00 2001 From: Elad Bar Date: Tue, 26 Sep 2023 09:27:21 +0300 Subject: [PATCH] fix default distribution no-db build tag name --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b82dbe4a..8e0a3cce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,10 +52,10 @@ docker-latest-no-db-build: script: - | if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then - tag="latest-no-db" + tag=":no-db" echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest-no-db'" else - tag="latest-no-db:$CI_COMMIT_REF_SLUG" + tag=":no-db-$CI_COMMIT_REF_SLUG" echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag" fi - docker build --pull --build-arg VAR_EXCLUDE_DB=true -t "$CI_REGISTRY_IMAGE${tag}" .