Skip to content

Commit

Permalink
Prune docker data on arm builders
Browse files Browse the repository at this point in the history
Prevent docker from filling up the disk by pruning docker stuff older
than a week.

Signed-off-by: Natanael Copa <[email protected]>
  • Loading branch information
ncopa committed Aug 4, 2023
1 parent e2b6c52 commit 4ac845d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,3 +425,7 @@ jobs:
- name: "Post: Fixup directories"
if: always()
run: find . -type d -not -perm /u+w -exec chmod u+w '{}' \;

- name: "Docker prune"
if: always()
run: docker system prune --force --filter "until=$((24*7))h"

0 comments on commit 4ac845d

Please sign in to comment.