From d01d1a1c02c75f890d1505fee77d52610d708020 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 19 Sep 2021 14:49:01 +0100 Subject: [PATCH] immagebuilder: fix bug in custom tag name code --- imagebuilder.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imagebuilder.sh b/imagebuilder.sh index 5bf3f8c..478229f 100755 --- a/imagebuilder.sh +++ b/imagebuilder.sh @@ -124,6 +124,8 @@ case "${subcommand}" in docker_tag="${docker_tag}:${imagetag}"; fi + echo -e "[${HOSTNAME}:imagebuilder] Fully qualified tag name: ${HC}${FGRN}${docker_tag}${RS}"; + imagetype="$(tr -d "[:blank:]" <"${imagedir}/type.txt")"; case "${imagetype}" in @@ -205,7 +207,7 @@ case "${subcommand}" in task_begin "Tagging and pushing to registry"; execute docker tag "${docker_tag_local}" "${docker_tag}"; - execute docker push "${docker_tag_push}"; + execute docker push "${docker_tag}"; task_end "$?"; ;;