Confusion around Cleanup policies for Container Registry

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

In Support, we often get requests around the Cleanup policy not working as "expected".

mceclip0

In the screenshot, you can see that Keep these tags and Remove these tags look like two separate jobs/tasks that will be running.

There are a few suggestions.

  1. Combine the two sections into a single one making it clearer that they are working together not separate.
  2. Make them as two jobs; 1) That will mark tags that need to be kept 2) A job that removes the tags based on the setting.
  3. Make it possible to add multiple custom rules instead.

Example ticket: https://gitlab.zendesk.com/agent/tickets/548304 (internal only)

Edited by 🤖 GitLab Bot 🤖