Container Registry Garbage Collection rules
F
Fernando Arteaga
It would be really useful to have an option to schedule the Garbage Collector run every few days. And also be able to delete the images according to some criteria like:
- Last pull date
- Last push date
- Tag names or regex tag
Examples
- Every day, delete all images that have the tag "green" and have not been pulled in the last 30 days
- Every Friday delete all images that have not been pulled in the last 45 days, except the tags ["latest", "1.*"]