From 90d49737ddba8702964102ff8715676bca976ae7 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 12 Aug 2022 19:46:27 +0200 Subject: [PATCH] peerjs : use gitea?? as container repo (3) --- podman-peerjs/zz_build-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-peerjs/zz_build-images.sh b/podman-peerjs/zz_build-images.sh index b9289de..fb30a20 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}; do +if ! skopeo inspect --format "ok" docker://${upstream_images}:${version}; then 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