Skip to content

Commit 9b0fa40

Browse files
committed
Ensure we have enough disk space to pull images
1 parent a9885e4 commit 9b0fa40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/retain-images.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Retain images
33
on:
44
schedule:
55
- cron: 0 0 1 * *
6+
push:
7+
paths:
8+
- .github/workflows/retain-images.yaml
69

710
permissions:
811
contents: read
@@ -22,4 +25,5 @@ jobs:
2225
run: |
2326
for tag in $(git tag); do
2427
docker pull --quiet danielflook/terraform-github-actions:$tag
28+
docker system prune --all --force
2529
done

0 commit comments

Comments
 (0)