mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-09 12:56:18 +00:00
ci: Use action from other repo to purge unused images for consistency
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -78,9 +78,10 @@ jobs:
|
||||
webhook_url: ${{ env.PORTAINER_WEBHOOK_URL }}
|
||||
|
||||
- name: Purge outdated images
|
||||
uses: actions/delete-package-versions@v5
|
||||
uses: snok/container-retention-policy@v3.0.0
|
||||
with:
|
||||
package-name: revanced-api
|
||||
package-type: container
|
||||
min-versions-to-keep: 5
|
||||
account: ${{ github.repository_owner }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
image-names: revanced-api
|
||||
keep-n-most-recent: 5
|
||||
cut-off: 1w
|
||||
|
||||
Reference in New Issue
Block a user