GoogleCloudPlatform / gcr-cleaner

Delete untagged image refs in Google Container Registry or Artifact Registry
Apache License 2.0
805 stars 112 forks source link

Add allow_tagged param to consider tagged images #6

Closed jtmiclat closed 4 years ago

jtmiclat commented 4 years ago

Close #2

sethvargo commented 4 years ago

The iteration over deleting tags is currently a linear operation. However, I don't expect people to have 10000s of tags like they do random layer SHAs, so I think it's fine. We could probably parallelize it in the future if someone complains.