gitea ci cleanup images

This commit is contained in:
Gitouche 2024-05-18 00:00:43 +02:00
parent 9f6b22dc54
commit 8853744681

View file

@ -21,6 +21,7 @@ if ! podman image exists ${gitea_image}:${gitea_version}; then
podman image prune -a -f --filter intermediate=true podman image prune -a -f --filter intermediate=true
podman image rm -f $(podman image list -a -q -- docker.io/library/golang) podman image rm -f $(podman image list -a -q -- docker.io/library/golang)
podman image rm -f $(podman image list -a -q -- docker.io/library/alpine) podman image rm -f $(podman image list -a -q -- docker.io/library/alpine)
podman image rm -f $(podman image list -a -q -- docker.io/tonistiigi/xx)
fi fi
rm -rf ${buildfolder} rm -rf ${buildfolder}
eval "$retval" eval "$retval"