Retention criteria for retention rule.
U
Usual Lynx
The cleanup policy currently allows specifying the number of versions to retain through the Cleanup Rule, while the Retention Rule allows defining tag patterns but does not provide an option to specify the number of versions to retain.
The requested enhancement is to support independent retention counts for production and non-production versions. For example:
Cleanup Rule: Retain the latest 5 non-production versions (versions not matching .
prod.
)Retention Rule: Retain the latest 5 production versions (versions matching .
prod.
)This would ensure that the registry independently retains the latest 5 production and 5 non-production versions.