podman-matrix : build script optimize - fix volume remanent

This commit is contained in:
Gitouche 2023-07-28 22:40:42 +02:00
parent d4052e2520
commit 402a178843
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then
--local dockerfile=${buildfolder}/docker/ \
--output type=oci,name="${synapse_image}:${synapse_version}" | \
podman image load &&
podman container rm --force buildkitd &&
podman container rm --volumes --force buildkitd &&
podman image rm docker.io/moby/buildkit:${buildkitd_version}
} || retval=false
rm -rf ${buildfolder}