Usage • Contributors • License
steps:
- name: 'Prune excess Docker tags from registry'
uses: devoxa/scaleway-container-registry-prune-action@v1
with:
scw-secret-token: ${{ secrets.SCW_SECRET_TOKEN }}
image: rg.nl-ams.scw.cloud/devoxa/genesis-server
tag-pattern: ^(?!pr-).+$
keep-last: 10
Name | Description |
---|---|
scw-secret-token |
The "secret key" part of a Scaleway API key |
image |
The name of the image that should be pruned |
tag-pattern |
A regular expression matching the tags that should be pruned |
keep-last |
The number of most recent tags to keep |
Thanks goes to these wonderful people (emoji key):
David Reeß 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT