mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
A sweep now applies every repository's lifecycle policy, as ECR does within a day of an image meeting a rule, and expires the images its rules select: imageCountMoreThan keeps the newest by push time and sinceImagePushed expires those older than the count, with rules applied in priority order and none marking an image a higher rule selected. A platform image of a held manifest list is kept until the list goes, and an artifact naming a subject expires with that image. Get and DeleteLifecyclePolicy report lastEvaluatedAt, and the delete echoes the policy it removed. Closes #5874.