Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
For example, a typical requirement is to clean up only pre-release artifacts while preserving production versions. However, since cleanup policies only allow filtering by prefixes, there is no way to exclude production versions while targeting only RC artifacts.
Proposed Solution:
* Allow users to define cleanup policy filters using regular expressions instead of just simple prefixes.
* Provide documentation and examples for commonly used patterns (e.g., filtering pre-release tags using v[0-9]+\.[0-9]+\.[0-9]+-.*).
* Alternatively, introduce suffix-based filtering as an additional option to help distinguish between versions.
Use Case Example:
Tags:
* v1.0.0 → Should not be deleted (production)
* v1.0.0-RC-1 → Should be deleted (release candidate)
* v2.0.0 → Should not be deleted
* v2.0.0-RC-2 → Should be deleted
Current Workarounds & Limitations:
* Users must restructure their CI/CD tagging strategy to fit within prefix-based filtering.
* This is not ideal, as it requires significant refactoring across pipelines.