chore: switch to action-ghcr-prune

This commit is contained in:
Tony 2025-10-25 01:16:50 +08:00
parent 884f38156d
commit c32ccb348c
1 changed files with 5 additions and 6 deletions

View File

@ -12,12 +12,11 @@ jobs:
contents: read
steps:
- name: Delete old container versions (30+ days)
uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb # v3.0.1
uses: vlaurin/action-ghcr-prune@0cf7d39f88546edd31965acba78cdcb0be14d641 # v0.6.0
with:
account: user
token: ${{ secrets.PAT }}
image-names: rsshub
image-tags: '* !latest'
cut-off: 30d
keep-n-most-recent: 5
container: rsshub
dry-run: false
keep-younger-than: 30 # days
keep-last: 5
prune-untagged: true