Fix awk in mirroring script.
ci/woodpecker/push/mirror Pipeline failed

This commit is contained in:
2026-07-22 21:51:27 +05:00
parent 788014d60c
commit a07b68228e
+1 -1
View File
@@ -78,7 +78,7 @@ function get_image() {
echo -n "Downloaded, " echo -n "Downloaded, "
# shellcheck disable=SC1083 # 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 if ! docker tag "${image_hash}" "${REMOTE_IMAGE}-${arch}" &> /dev/null; then
echo "but tagging failed!" echo "but tagging failed!"