From eaf5f4d855613d0f33560e982249268f554bd98d Mon Sep 17 00:00:00 2001 From: James Bristow Date: Sat, 17 Aug 2024 03:44:43 +1200 Subject: [PATCH] Freeing more disk space for Docker build --- .github/workflows/docker-build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index 71a3d37..b9aa708 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -19,8 +19,14 @@ jobs: run: | sudo swapoff -a sudo rm -f /swapfile - sudo apt clean + sudo apt-get remove -y '^dotnet-.*' + sudo apt-get remove -y '^llvm-.*' + sudo apt-get remove -y 'php.*' + sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel + sudo apt-get autoremove -y + sudo apt-get clean docker rmi $(docker image ls -aq) + rm -rf /usr/share/dotnet/ df -h - uses: actions/checkout@v3 - name: Set up QEMU