From 8bd310eea52b255d3322a91245adc5eadcfcbc64 Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Tue, 14 Jan 2025 13:04:16 +0900 Subject: [PATCH] Docker now also cleans up volumes --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a803e4bd9c..ba50ee3a72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Free Disk-Space - run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h + run: df -h && sudo apt-get clean && docker system prune -a -f --volumes && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 - name: Install buildx @@ -113,7 +113,7 @@ jobs: target: [win64,winarm64,linux64,linuxarm64] steps: - name: Free Disk-Space - run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h + run: df -h && sudo apt-get clean && docker system prune -a -f --volumes && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 - name: Install buildx @@ -169,7 +169,7 @@ jobs: variant: [gpl,lgpl,gpl 5.1,gpl 6.1,gpl 7.1,lgpl 5.1,lgpl 6.1,lgpl 7.1,gpl-shared,lgpl-shared,gpl-shared 5.1,gpl-shared 6.1,gpl-shared 7.1,lgpl-shared 5.1,lgpl-shared 6.1,lgpl-shared 7.1] steps: - name: Free Disk-Space - run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h + run: df -h && sudo apt-get clean && docker system prune -a -f --volumes && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 - name: Install buildx @@ -234,7 +234,7 @@ jobs: variant: [gpl,lgpl,gpl 5.1,gpl 6.1,gpl 7.1,lgpl 5.1,lgpl 6.1,lgpl 7.1,gpl-shared,lgpl-shared,gpl-shared 5.1,gpl-shared 6.1,gpl-shared 7.1,lgpl-shared 5.1,lgpl-shared 6.1,lgpl-shared 7.1] steps: - name: Free Disk-Space - run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h + run: df -h && sudo apt-get clean && docker system prune -a -f --volumes && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 - name: Login to Docker @@ -265,7 +265,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Free Disk-Space - run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h + run: df -h && sudo apt-get clean && docker system prune -a -f --volumes && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 - name: Download artifacts