Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): delete unused artifacts in registries (#5873)
* feat(ci): delete unused artifacts in registries Previous behavior: Docker artifacts are costing us a good part of our infrastructure budget, and we needed a way to remove unused artifacts. Expected behavior: Delete unused (not just old) docker artifacts in GAR (Google Artifact Registry), preferably using a generic solution is this needs to be expanded into other Docker registries. Solution: Implement GCR Cleaner https://github.com/GoogleCloudPlatform/gcr-cleaner, as this tools provided integration with `docker/login-action` to interact with multiple Docker v2 registries. * fix(action): use hours instead of days * chore: add TODO * Update .github/workflows/delete-gcp-resources.yml Co-authored-by: teor <[email protected]> * fix: allow the action to fail if some images can't be deleted Co-authored-by: teor <[email protected]>
- Loading branch information