peerjs : use gitea?? as container repo (3)
This commit is contained in:
parent
41027ae274
commit
90d49737dd
|
@ -18,7 +18,7 @@ if ! podman image exists ${upstream_images}:${version}; then
|
||||||
rm -rf ${buildfolder}
|
rm -rf ${buildfolder}
|
||||||
fi
|
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%%/*}
|
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)
|
for i in $(seq 1 3); do podman push ${upstream_images}:${version} && s=0 && break || s=$? && sleep 1; done; (exit $s)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue