DoIT Shared Tools - GitLab - Cleaning up your Container Registries
Users can define rules for removing obsolete containers from their Project's Registry, which reduces clutter in the GitLab UI and keeps the Container Registry from accumulating unneeded objects.
A Project's Owners and Maintainers can define a Cleanup Policy for the Project's Container Registry. The Policy defines rules for automatically removing tags from containers (e.g. they are more than 180 days old, their name indicates they're for temporary use).
By default, containers will be kept until they are either manually deleted or removed due to a Cleanup Policy.