From 5fee10427aab3834ba69982942677c85f6d8793e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Thu, 19 Sep 2024 12:16:40 +0200 Subject: [PATCH] ci: free disk space https://github.com/docker/build-push-action/blob/master/TROUBLESHOOTING.md#image-not-loaded --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0044975..28438be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,12 @@ jobs: PYTHONBIN: python3.12 DISTRO: noble steps: + # Free disk space + - name: Free Disk space + shell: bash + run: | + sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android + sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET - uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3