Skip to content
Snippets Groups Projects
Verified Commit 827beb4e authored by Louis's avatar Louis :fire:
Browse files

Default to 'latest', not blank tag

parent 45bd3162
No related branches found
No related tags found
No related merge requests found
Pipeline #474 passed with stage
in 1 minute and 46 seconds
...@@ -10,7 +10,7 @@ docker_builder: ...@@ -10,7 +10,7 @@ docker_builder:
script: script:
- | - |
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
tag="" tag=":latest"
echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'" echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
else else
tag=":$CI_COMMIT_REF_SLUG" tag=":$CI_COMMIT_REF_SLUG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment