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 4b57af0 commit 5eb7d9cCopy full SHA for 5eb7d9c
.github/workflows/image-cleanup.yml
@@ -3,7 +3,7 @@ name: Cleanup Images
3
4
on:
5
schedule:
6
- - cron: "30 1 * * *"
+ - cron: "0 0 * * 3"
7
pull_request:
8
workflow_dispatch:
9
@@ -13,6 +13,8 @@ jobs:
13
delete-images:
14
runs-on: ubuntu-latest
15
permissions:
16
+ # dataaxiom/ghcr-cleanup-action needs packages write permission
17
+ # to delete untagged and orphaned images
18
packages: write
19
steps:
20
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
@@ -24,5 +26,7 @@ jobs:
24
26
ghcr.io:443
25
27
- uses: dataaxiom/ghcr-cleanup-action@cd0cdb900b5dbf3a6f2cc869f0dbb0b8211f50c4 # v1.0.16
28
with:
29
+ dry-run: true
30
delete-orphaned-images: true
31
+ delete-untagged: true
32
packages: amp-devcontainer,amp-devcontainer-cpp,amp-devcontainer-rust
0 commit comments