Skip to content

Commit

Permalink
Ensure we have enough disk space to pull images
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Dec 17, 2024
1 parent a9885e4 commit 9b0fa40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/retain-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Retain images
on:
schedule:
- cron: 0 0 1 * *
push:
paths:
- .github/workflows/retain-images.yaml

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

0 comments on commit 9b0fa40

Please sign in to comment.