Skip to content

Commit

Permalink
WIP: break podman release-image auth
Browse files Browse the repository at this point in the history
  • Loading branch information
wking committed Nov 6, 2020
1 parent cfdc695 commit f7c9ff4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ set -euo pipefail

RELEASE_IMAGE={{.ReleaseImage}}

RELEASE_IMAGE='registry.svc.ci.openshift.org/ocp/release:4.7.0-0.ci-2020-11-06-074141' # force something that requires a CI-registry token
echo "Pulling $RELEASE_IMAGE..."
while ! podman pull --quiet "$RELEASE_IMAGE"
echo '{}' >/tmp/busted-auth.json
while ! podman pull --authfile /tmp/busted-auth.json --quiet "$RELEASE_IMAGE"
do
echo "Pull failed. Retrying $RELEASE_IMAGE..."
done
Expand Down

0 comments on commit f7c9ff4

Please sign in to comment.