Skip to content

Commit ea86e96

Browse files
authored
ci: Use action from other repo to purge unused images for consistency
1 parent 3242e55 commit ea86e96

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ jobs:
7878
webhook_url: ${{ env.PORTAINER_WEBHOOK_URL }}
7979

8080
- name: Purge outdated images
81-
uses: actions/delete-package-versions@v5
81+
uses: snok/[email protected]
8282
with:
83-
package-name: revanced-api
84-
package-type: container
85-
min-versions-to-keep: 5
83+
account: ${{ github.repository_owner }}
8684
token: ${{ secrets.GITHUB_TOKEN }}
85+
image-names: revanced-api
86+
keep-n-most-recent: 5
87+
cut-off: 1w

0 commit comments

Comments
 (0)