peerjs : use gitea as container repo (7)
This commit is contained in:
parent
1cee9af372
commit
2d64ead7f6
|
@ -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}; then
|
||||
if ! skopeo inspect --format "Image ${upstream_images}:${version} found on remote container repository." 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
|
||||
|
|
Loading…
Reference in a new issue