Skip to content

Repository files navigation

Prune Registry

A GitHub action to prune a Docker registry from unused tags.

Use it like:

- name: Prune old images
  use: modelw/prune-registry@develop
  with:
      domain: your-registry.com
      username: user
      password: pwd
      image: some/image
      regex: "^staging|production$"

It will basically delete all tags except:

  • The tags matched by the regular expression
  • The tags tagging references matching the matched tags

About

Helps cleaning up registries of old images

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages