podman-matrix : build script optimize - fix volume remanent
This commit is contained in:
parent
d4052e2520
commit
402a178843
|
@ -24,7 +24,7 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then
|
||||||
--local dockerfile=${buildfolder}/docker/ \
|
--local dockerfile=${buildfolder}/docker/ \
|
||||||
--output type=oci,name="${synapse_image}:${synapse_version}" | \
|
--output type=oci,name="${synapse_image}:${synapse_version}" | \
|
||||||
podman image load &&
|
podman image load &&
|
||||||
podman container rm --force buildkitd &&
|
podman container rm --volumes --force buildkitd &&
|
||||||
podman image rm docker.io/moby/buildkit:${buildkitd_version}
|
podman image rm docker.io/moby/buildkit:${buildkitd_version}
|
||||||
} || retval=false
|
} || retval=false
|
||||||
rm -rf ${buildfolder}
|
rm -rf ${buildfolder}
|
||||||
|
|
Loading…
Reference in a new issue