Setup Image cleanup for individual repositories
PROBLEM
Currently all individual service images are using the new podman build runner together with --cache-from and --cache-to parameters. This caches a lot of images during each build step (except service cache
) and maybe speeds up the build processes. However, this also increases storage used by the registry a lot.
TASK
Setup a cache cleanup rules to evict these cached image. Those are possibly all non-release images older than X days (60?) and not having a name in form release-.*
.
example: https://gitlab.eox.at/vs/preprocessor-v3/-/settings/packages_and_registries/cleanup_image_tags