We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8821ea9 commit 66c2867Copy full SHA for 66c2867
.github/workflows/registry-cleanup.yml
@@ -0,0 +1,24 @@
1
+name: Clean up registry
2
+on:
3
+ schedule:
4
+ - cron: '15 3 * * 0'
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ prune-init-images:
9
+ name: Prune docker images
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+ steps:
15
+ - name: Prune untagged images
16
+ uses: vlaurin/action-ghcr-prune@0a539594d122b915e71c59733a5b115bfaaf5d52 #v0.5.0
17
+ with:
18
+ token: ${{ secrets.GITHUB_TOKEN }}
19
+ organization: Datadog
20
+ container: dd-trace-java-docker-build
21
+ keep-younger-than: 30 # days
22
+ prune-tags-regexes: |
23
+ ^[a-z0-9]+_merge-
24
+ prune-untagged: true
0 commit comments