From 439b64a86929bdbd480ef9ec231982538afb7f6e Mon Sep 17 00:00:00 2001 From: Blaise deB Frederick Date: Fri, 15 Nov 2024 15:22:13 -0500 Subject: [PATCH] Match other build scripts --- .github/workflows/docker-build-on-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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