Skip to content

Commit 76c068b

Browse files
authored
fix: Clear space in CI for the image builds (#173)
From testing, this frees up 10+ GB on the root filesystem.
1 parent 75eef77 commit 76c068b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
password: ${{ secrets.QUAY_IO_ROBOT_TOKEN }}
6666
- name: Build image
6767
run: |
68+
# Clear some space (https://github.com/actions/runner-images/issues/2840)
69+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY"
70+
6871
ARCH=$(cut -d "/" -f2 <<< ${{ matrix.docker-platform }})
6972
DOCKER_BUILDKIT=1 docker buildx build --platform=$ARCH --load \
7073
--build-arg PIP_VERSION=$PIP_VERSION \

0 commit comments

Comments
 (0)