Skip to content

Commit a7095aa

Browse files
committed
ci: add a cleanup for the images
1 parent 82089ed commit a7095aa

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .github/workflows/cleanup.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Cleaner
2+
3+
on:
4+
workflow_dispatch:
5+
# schedule:
6+
# - cron: "0 0 * * *"
7+
pull_request:
8+
branches:
9+
- "dev"
10+
11+
jobs:
12+
cleanup:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
packages: write
17+
attestations: write
18+
id-token: write
19+
steps:
20+
- uses: actions/delete-package-versions@v5
21+
with:
22+
package-name: goblin
23+
package-type: container
24+
min-versions-to-keep: 10
25+
ignore-versions: '(v?\d+\.\d+\.\d+|latest|(nightly[-]\w+))'

0 commit comments

Comments
 (0)