Allow shorter options for container registry cleanup policy older than

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

  • Work on this issue
  • Close this issue

Proposal

Currently the allowed options are 7, 14, 30, 60 and 90 days. Since the cleanup policy can run every day, having options starting at 1 day would be good, allowing to reduce disk usage for old images. For example, add at least 1 day, 2 days and 5 days.

Alternatively, the current dropdown could be made into a text box so the user can input any number of days.

Edited Aug 14, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading