functions.sh : fix
This commit is contained in:
parent
fc734a7f95
commit
d68242a5e3
|
@ -312,6 +312,6 @@ oci_push_to_registry () {
|
||||||
# Try x times because of unexplained error 500
|
# Try x times because of unexplained error 500
|
||||||
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}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue