immagebuilder: fix bug in custom tag name code
This commit is contained in:
parent
1010751721
commit
d01d1a1c02
1 changed files with 3 additions and 1 deletions
|
@ -124,6 +124,8 @@ case "${subcommand}" in
|
||||||
docker_tag="${docker_tag}:${imagetag}";
|
docker_tag="${docker_tag}:${imagetag}";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "[${HOSTNAME}:imagebuilder] Fully qualified tag name: ${HC}${FGRN}${docker_tag}${RS}";
|
||||||
|
|
||||||
imagetype="$(tr -d "[:blank:]" <"${imagedir}/type.txt")";
|
imagetype="$(tr -d "[:blank:]" <"${imagedir}/type.txt")";
|
||||||
|
|
||||||
case "${imagetype}" in
|
case "${imagetype}" in
|
||||||
|
@ -205,7 +207,7 @@ case "${subcommand}" in
|
||||||
|
|
||||||
task_begin "Tagging and pushing to registry";
|
task_begin "Tagging and pushing to registry";
|
||||||
execute docker tag "${docker_tag_local}" "${docker_tag}";
|
execute docker tag "${docker_tag_local}" "${docker_tag}";
|
||||||
execute docker push "${docker_tag_push}";
|
execute docker push "${docker_tag}";
|
||||||
task_end "$?";
|
task_end "$?";
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue