add(ci): clear-packages.yml
This commit is contained in:
parent
d0af17c674
commit
eea9fd56b0
1 changed files with 15 additions and 0 deletions
15
.github/workflows/clear-untagged-packages.yml
vendored
Normal file
15
.github/workflows/clear-untagged-packages.yml
vendored
Normal 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'
|
Loading…
Reference in a new issue