Fix the loop that generate the version tags

This commit is contained in:
flow.gunso
2020-01-07 22:01:00 +01:00
parent a11a6ad68d
commit c63fa89e23

View File

@@ -21,7 +21,7 @@ source $SCRIPT_DIRECTORY/utilities.sh
load_images_artifacts load_images_artifacts
tags=("latest") tags=("latest")
for version_component in "$(echo $CI_COMMIT_TAG | tr '.' '\n')"; do for version_component in $(echo $CI_COMMIT_TAG | tr "." "\n"); do
tag+="$version_component" tag+="$version_component"
tags+=("$tag") tags+=("$tag")
tag+="." tag+="."