Skip to content

Commit

Permalink
Merge pull request #26777 from PushkarJ/patch-1
Browse files Browse the repository at this point in the history
Force Redirect Registry URL because of redirect failures
  • Loading branch information
k8s-ci-robot authored Jul 11, 2022
2 parents 0f1eb14 + 3657592 commit 90c732d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ periodics:
# container images scan
echo "Fetch the list of k8s images"
curl -Ls https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/latest.txt)/release | grep 'PackageName: registry.k8s.io/' | awk '{print $2}' > images
sed 's/registry.k8s.io/k8s.gcr.io/' images > redirect-images
while read image; do
echo "Running container image scan.."
EXIT_CODE=0
Expand All @@ -83,7 +84,7 @@ periodics:
else
echo "Scan completed image $image"
fi
done < images
done < redirect-images
annotations:
testgrid-create-test-group: "true"
testgrid-alert-email: [email protected]
Expand Down

0 comments on commit 90c732d

Please sign in to comment.