You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove usage .version and replace it with $dir variable.
The variable has format like:
1.24, 2.4-micro, 13.
So it can be used for tagging and testing.
As well as for test.sh it can be used
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
commit_date=$(git show -s HEAD --format=%cd --date=short | sed 's/-//g')
@@ -42,10 +41,10 @@ for dir in ${VERSIONS}; do
42
41
fi
43
42
44
43
full_reg_name="$REGISTRY$name"
45
-
echo"-> Tagging image '$IMAGE_ID' as '$full_reg_name:$version' and '$full_reg_name:latest' and '$full_reg_name:$OS' and '$full_reg_name:$date_and_hash'"
44
+
echo"-> Tagging image '$IMAGE_ID' as '$full_reg_name:$dir' and '$full_reg_name:latest' and '$full_reg_name:$OS' and '$full_reg_name:$date_and_hash'"
46
45
47
46
docker tag "$IMAGE_ID""$full_reg_name:$OS"
48
-
docker tag "$IMAGE_ID""$full_reg_name:$version"
47
+
docker tag "$IMAGE_ID""$full_reg_name:$dir"
49
48
docker tag "$IMAGE_ID""$full_reg_name:latest"
50
49
docker tag "$IMAGE_ID""$full_reg_name:$date_and_hash"
0 commit comments