We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4437214 commit ec233ccCopy full SHA for ec233cc
.github/workflows/zswatch-ci-image.yml
@@ -24,6 +24,14 @@ jobs:
24
- name: Checkout
25
uses: actions/checkout@v4
26
27
+ - name: Free disk space
28
+ run: |
29
+ df -h
30
+ sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /opt/hostedtoolcache/CodeQL
31
+ docker system prune -af || true
32
+ docker volume prune -f || true
33
34
+
35
- name: Set up Docker Buildx
36
uses: docker/setup-buildx-action@v3
37
@@ -44,6 +52,9 @@ jobs:
44
52
ghcr.io/zswatch/ci-base:${{ github.ref_name }}
45
53
ghcr.io/zswatch/ci-base:latest
46
54
55
+ - name: Prune buildx cache
56
+ run: docker buildx prune -af --keep-storage 5GB
57
47
58
- name: Build and push CI image
48
59
uses: docker/build-push-action@v5
49
60
with:
0 commit comments