mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-24 06:44:11 +08:00
ci: clean old package
Signed-off-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
This commit is contained in:
parent
ad6b3bf19f
commit
0b67cc7021
16
.github/workflows/cleanPkg.yml
vendored
Normal file
16
.github/workflows/cleanPkg.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: clean old package
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
jobs:
|
||||
del_runs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/delete-package-versions@v4
|
||||
with:
|
||||
package-name: 'metacubexd'
|
||||
package-type: 'container'
|
||||
min-versions-to-keep: 3
|
||||
delete-only-untagged-versions: 'true'
|
Loading…
x
Reference in New Issue
Block a user