updates
This commit is contained in:
parent
0c0973f9c9
commit
9fa5709b91
2 changed files with 26 additions and 6 deletions
26
.github/workflows/delete-builds.yml
vendored
Normal file
26
.github/workflows/delete-builds.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: delete builds
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
logLevel:
|
||||
description: "Log level"
|
||||
required: true
|
||||
default: "warning"
|
||||
type: choice
|
||||
options:
|
||||
- info
|
||||
- warning
|
||||
- debug
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
delete-builds:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/delete-package-versions@v4
|
||||
with:
|
||||
package-name: "ytptube"
|
||||
package-type: "container"
|
||||
min-versions-to-keep: 20
|
||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -79,9 +79,3 @@ jobs:
|
|||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha, scope=${{ github.workflow }}
|
||||
cache-to: type=gha, scope=${{ github.workflow }}
|
||||
|
||||
- uses: actions/delete-package-versions@v4
|
||||
with:
|
||||
package-name: "ytptube"
|
||||
package-type: "container"
|
||||
min-versions-to-keep: 5
|
||||
|
|
|
|||
Loading…
Reference in a new issue