From a07b68228e59ddd5c8cd96b08afc0b52ab9808ea Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Wed, 22 Jul 2026 21:51:27 +0500 Subject: [PATCH] Fix awk in mirroring script. --- mirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror.sh b/mirror.sh index 6f17625..106662a 100755 --- a/mirror.sh +++ b/mirror.sh @@ -78,7 +78,7 @@ function get_image() { echo -n "Downloaded, " # shellcheck disable=SC1083 - image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $3 '}) + image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $2 '}) if ! docker tag "${image_hash}" "${REMOTE_IMAGE}-${arch}" &> /dev/null; then echo "but tagging failed!"