From d4052e2520e1ebc5c610f46c0c62e20ef64f0a1c Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 28 Jul 2023 22:19:52 +0200 Subject: [PATCH] podman-matrix : maj script de construction des images --- podman-matrix/ci_build-images.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/podman-matrix/ci_build-images.sh b/podman-matrix/ci_build-images.sh index bfad384..b13d03c 100755 --- a/podman-matrix/ci_build-images.sh +++ b/podman-matrix/ci_build-images.sh @@ -26,10 +26,12 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then podman image load && podman container rm --force buildkitd && podman image rm docker.io/moby/buildkit:${buildkitd_version} - } + } || retval=false rm -rf ${buildfolder} + eval $retval else echo "Image ${synapse_image}:${synapse_version} already built" + false fi && oci_push_to_registry ${synapse_image}:${synapse_version}