Skip to content

Commit 2c7fd1c

Browse files
committed
#647 - Clean up untagged images
- add workflow to remove untagged docker images from ghcr
1 parent 161aa02 commit 2c7fd1c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: remove-untagged-images.yml
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch:
6+
jobs:
7+
delete-untagged-images:
8+
name: Delete Untagged Images
9+
runs-on: ubuntu-latest
10+
permissions:
11+
packages: write
12+
steps:
13+
- uses: dataaxiom/ghcr-cleanup-action@v1
14+
with:
15+
dry-run: true
16+
delete-untagged: true
17+
exclude-tags: latest, pr-*, *.*.*

0 commit comments

Comments
 (0)