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 fa8d68e
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:does-not-exist' # force something that will fail to pull
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 fa8d68e

Please sign in to comment.