Skip to content

untile/cleanup-docr

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cleanup-docr

GitHub Action to clean up DigitalOcean Container Registry (DOCR) by removing old image manifests.

Usage

- uses: untile/cleanup-docr@v1
  with:
    image_repository: 'my-repository'
    buffer_size: 3
    exclude: \[.*(latest|v[^,\]]*).*\]

Inputs

  • image_repository (required) - Image repository name in the DOCR
  • buffer_size (optional) - Number of last uploaded images to keep (default: 3)
  • exclude (optional) - Tag regex to exclude from deletion (example: \[.*(latest|v[^,\]]*).*\])

Prerequisites

  • doctl must be authenticated in your workflow (use digitalocean/action-doctl)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages