dotnet-buildtools-prereqs-docker icon indicating copy to clipboard operation
dotnet-buildtools-prereqs-docker copied to clipboard

Bulk cleanup old images

Open MichaelSimons opened this issue 1 year ago • 1 comments

Should we do a bulk cleanup of the old images stored on MAR? We have been asked in the past by MAR to cleanup old images. We have a number of extremely old images that are good candidates. This may make the work on adding EOL annotations to old images easier.

MichaelSimons avatar May 08 '24 15:05 MichaelSimons

[Triage] MAR has documentation on how to do bulk deletion of images via a json file - [internal link]

This repo has had a number of different tagging schemes over the years - it would be easy to come up with a query to delete all images with a known out-of-date tagging scheme. Images that are out of date from this repo should not be used.

Any images we remove should also be removed from our internal ACR.

lbussell avatar May 09 '24 18:05 lbussell

[Triage] Closing this since we've changed our ACR cleanup policy to clean up EOL images after a certain period of time: https://github.com/dotnet/docker-tools/pull/1384. There's no more work to be done with cleaning up out of date images from our ACR.

We can re-open this/reconsider deleting EOL images from MAR if they ever ask us do to this again.

lbussell avatar Aug 26 '24 19:08 lbussell