GitHub Action to clean up DigitalOcean Container Registry (DOCR) by removing old image manifests.
- uses: untile/cleanup-docr@v1
with:
image_repository: 'my-repository'
buffer_size: 3
exclude: \[.*(latest|v[^,\]]*).*\]image_repository(required) - Image repository name in the DOCRbuffer_size(optional) - Number of last uploaded images to keep (default: 3)exclude(optional) - Tag regex to exclude from deletion (example:\[.*(latest|v[^,\]]*).*\])
- doctl must be authenticated in your workflow (use
digitalocean/action-doctl)
DOCR cleanup is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.