fix default distribution no-db build tag name

node-20
Elad Bar 2023-09-26 09:27:21 +03:00
parent d7edf227fd
commit 8228487649
1 changed files with 2 additions and 2 deletions

View File

@ -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}" .