Skip to content

Prune images in the Scaleway Container Registry by deleting excess tags via Github Actions

Notifications You must be signed in to change notification settings

devoxa/scaleway-container-registry-prune-action

Folders and files

NameName
Last commit message
Last commit date
Mar 13, 2025
Jan 6, 2024
Dec 5, 2024
Dec 5, 2024
Aug 5, 2023
Jun 14, 2021
Jun 14, 2021
Dec 21, 2024
Jan 6, 2024
Dec 5, 2024
Dec 21, 2024
Apr 14, 2025
Dec 21, 2024
Apr 14, 2025

Repository files navigation

scaleway-container-registry-prune-action

Prune images in the Scaleway Container Registry by deleting excess tags via Github Actions

Build Status Code Coverage

UsageContributorsLicense


Usage

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

Inputs

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

Contributors

Thanks goes to these wonderful people (emoji key):


David Reeß

💻 📖 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT