vaultwarden&jitsi : ci cleanup images

This commit is contained in:
Gitouche 2024-05-18 00:08:39 +02:00
parent 8853744681
commit 9524a1bf92
2 changed files with 5 additions and 4 deletions

View file

@ -46,9 +46,9 @@ if git clone -b ${version} --depth=1 https://github.com/jitsi/docker-jitsi-meet/
podman image rm localhost/jitsi/base-java:${version} localhost/jitsi/base-java:latest podman image rm localhost/jitsi/base-java:${version} localhost/jitsi/base-java:latest
podman image rm localhost/jitsi/base:${version} localhost/jitsi/base:latest podman image rm localhost/jitsi/base:${version} localhost/jitsi/base:latest
fi fi
podman image rm -f $(podman image list -a -q -- docker.io/library/debian)
fi fi
rm -rf ${buildfolder} rm -rf ${buildfolder}
for image in ${upstream_images}; do for image in ${upstream_images}; do
oci_push_to_registry "${image}":${version} oci_push_to_registry "${image}":${version}
done done

View file

@ -20,9 +20,10 @@ if ! podman image exists ${service_image}:${service_version}; then
TMPDIR=${HOME} DB='postgresql,enable_mimalloc' CONTAINER_REGISTRIES='git.garbaye.fr/garbaye/vaultwarden' BASE_TAGS=${service_version%%-*} ${buildfolder}/docker/podman-bake.sh || retval=false TMPDIR=${HOME} DB='postgresql,enable_mimalloc' CONTAINER_REGISTRIES='git.garbaye.fr/garbaye/vaultwarden' BASE_TAGS=${service_version%%-*} ${buildfolder}/docker/podman-bake.sh || retval=false
podman image prune -a -f --filter dangling=true podman image prune -a -f --filter dangling=true
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 -- vaultwarden/web-vault) podman image rm -f $(podman image list -a -q -- docker.io/vaultwarden/web-vault)
podman image rm -f $(podman image list -a -q -- docker.io/blackdex/rust-musl) podman image rm -f $(podman image list -a -q -- docker.io/library/rust)
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/debian)
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"