Skip to content

Commit e13c2f1

Browse files
ritunjaymclaude
andcommitted
fix: free disk space before Docker builds
Clears ~14GB by removing unused toolchains and pruning Docker before building API and sidecar images. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 444cdf3 commit e13c2f1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ jobs:
9898
- name: Checkout code
9999
uses: actions/checkout@v4
100100

101+
- name: Free disk space
102+
run: |
103+
sudo rm -rf /usr/share/dotnet
104+
sudo rm -rf /opt/ghc
105+
docker system prune -af --volumes
106+
101107
- name: Set up Docker Buildx
102108
uses: docker/setup-buildx-action@v3
103109

@@ -123,6 +129,12 @@ jobs:
123129
- name: Checkout code
124130
uses: actions/checkout@v4
125131

132+
- name: Free disk space
133+
run: |
134+
sudo rm -rf /usr/share/dotnet
135+
sudo rm -rf /opt/ghc
136+
docker system prune -af --volumes
137+
126138
- name: Set up Docker Buildx
127139
uses: docker/setup-buildx-action@v3
128140

0 commit comments

Comments
 (0)