podman-matrix : maj script de construction des images

This commit is contained in:
Gitouche 2023-07-28 22:19:52 +02:00
parent ccf9edc9ba
commit d4052e2520

View file

@ -26,10 +26,12 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then
podman image load && podman image load &&
podman container rm --force buildkitd && podman container rm --force buildkitd &&
podman image rm docker.io/moby/buildkit:${buildkitd_version} podman image rm docker.io/moby/buildkit:${buildkitd_version}
} } || retval=false
rm -rf ${buildfolder} rm -rf ${buildfolder}
eval $retval
else else
echo "Image ${synapse_image}:${synapse_version} already built" echo "Image ${synapse_image}:${synapse_version} already built"
false
fi && fi &&
oci_push_to_registry ${synapse_image}:${synapse_version} oci_push_to_registry ${synapse_image}:${synapse_version}