diff --git a/hack/check-remote-image-existence.sh b/hack/check-remote-image-existence.sh index 6506628ce9b..161eede87e1 100755 --- a/hack/check-remote-image-existence.sh +++ b/hack/check-remote-image-existence.sh @@ -5,7 +5,7 @@ set -eu -o pipefail script_dir=$(dirname "$0") result=0 -for template in $(realpath "${script_dir}"/../examples/*.yaml "${script_dir}"/./test-templates/*.yaml|sort -u); do +for template in $(realpath "${script_dir}"/../examples/*.yaml "${script_dir}"/./test-templates/*.yaml | sort -u); do for location in $(yq eval '.images[].location' "${template}"); do if [[ ${location} == http* ]]; then response=$(curl -L -s -I -o /dev/null -w "%{http_code}" "${location}")