add(ci): clear-packages.yml

This commit is contained in:
Marie 2023-09-26 03:17:28 +02:00 committed by GitHub
parent d0af17c674
commit eea9fd56b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
name: Remove old package versions
on:
workflow_dispatch:
jobs:
remove-package-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: sharkey
package-type: container
min-versions-to-keep: 10
delete-only-untagged-versions: 'true'