diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 54d66ce961..58e56eb1ee 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -38,6 +38,14 @@ jobs: # PLATFORMS: 'linux/amd64,linux/arm64' PLATFORMS: 'linux/amd64' steps: + - name: Free up more disk space on the runner + # https://github.com/actions/runner-images/issues/2840#issuecomment-1284059930 + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + sudo swapoff /mnt/swapfile + sudo rm -rf /mnt/swapfile + - name: Checkout uses: actions/checkout@v3