From 1bf7df5ec11e695429a2a350fb0ecbfff51f5c52 Mon Sep 17 00:00:00 2001 From: Kyle Squizzato Date: Fri, 1 Nov 2024 08:48:32 -0700 Subject: [PATCH] Do not try to pull non-tagged images Signed-off-by: Kyle Squizzato --- scripts/bundle-images.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/bundle-images.sh b/scripts/bundle-images.sh index ddbfae0e..5468f816 100755 --- a/scripts/bundle-images.sh +++ b/scripts/bundle-images.sh @@ -141,6 +141,12 @@ do continue fi + tag=$(echo $image | cut -d':' -f2) + if [[ $tag == "" ]]; then + echo "Will not pull image: $image with tag , continuing..." + continue + fi + docker pull $image if [[ $? -ne 0 ]]; then echo "Error: Failed to pull $image"