From d0c4d19faaf23b363c4e9d4d5add0d3f75559f20 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Thu, 18 Jun 2026 13:15:52 -0500 Subject: [PATCH] fix(ci): prune Docker state before deploy to recover disk space Previous builds leave cached layers and images on the runner. Add a docker system prune at start of deploy to avoid container-creation failures from disk exhaustion. --- .gitea/workflows/deploy-gke.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/deploy-gke.yaml b/.gitea/workflows/deploy-gke.yaml index fca0d71..3f6d512 100644 --- a/.gitea/workflows/deploy-gke.yaml +++ b/.gitea/workflows/deploy-gke.yaml @@ -26,6 +26,13 @@ jobs: USE_GKE_GCLOUD_AUTH_PLUGIN: "True" steps: + - name: Free disk space + run: | + df -h / + docker system prune -af --volumes 2>/dev/null || true + rm -rf /tmp/.act-* /tmp/act-* 2>/dev/null || true + df -h / + - name: Checkout uses: actions/checkout@v4