diff --git a/podman-peerjs/zz_build-images.sh b/podman-peerjs/zz_build-images.sh index 1a01450..b9289de 100755 --- a/podman-peerjs/zz_build-images.sh +++ b/podman-peerjs/zz_build-images.sh @@ -18,7 +18,7 @@ if ! podman image exists ${upstream_images}:${version}; then rm -rf ${buildfolder} fi -if ! skopeo inspect --format "ok" docker://${upstream_images}:${version} +if ! skopeo inspect --format "ok" docker://${upstream_images}:${version}; do podman login --username ${CONTAINER_REPO_USER} --password ${CONTAINER_REPO_PASSWORD} ${upstream_images%%/*} for i in $(seq 1 3); do podman push ${upstream_images}:${version} && s=0 && break || s=$? && sleep 1; done; (exit $s) fi