Framadate : store to registry (5)

This commit is contained in:
Gitouche 2022-08-16 21:18:03 +02:00
parent aa1fd1df33
commit 1f06dd328d

View file

@ -314,7 +314,7 @@ oci_push_to_registry () {
for i in $(seq 1 3); do podman push ${1} && s=0 && break || s=$? && sleep 1; done; (exit $s) && for i in $(seq 1 3); do podman push ${1} && s=0 && break || s=$? && sleep 1; done; (exit $s) &&
podman image rm ${1} && podman image rm ${1} &&
podman pull ${1} podman pull ${1}
then else
echo "Error : image ${1} does not exists" echo "Error : image ${1} does not exists"
exit 1 exit 1
fi fi