diff --git a/.github/workflows/docker-build-on-release.yml b/.github/workflows/docker-build-on-release.yml index 8bf87a6..dd8fdfb 100644 --- a/.github/workflows/docker-build-on-release.yml +++ b/.github/workflows/docker-build-on-release.yml @@ -28,6 +28,17 @@ jobs: with: images: fredericklab/capcalc + - name: Free disk space + run: | + df -h + sudo rm -rf ${GITHUB_WORKSPACE}/.git + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + df -h + - name: Build and push id: docker_build uses: docker/build-push-action@v6