From ca0c3d37540b9be8ef61b2ce8588bab1dfb9f200 Mon Sep 17 00:00:00 2001 From: Aleksandr Meshchriakov Date: Tue, 28 Apr 2026 21:19:50 +0200 Subject: [PATCH] ci: free docker space before quality image --- .gitea/workflows/ci-cd.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 430b5c5..3bb597d 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -48,6 +48,15 @@ jobs: git -c core.hooksPath=/dev/null clone --depth=1 --branch="${BRANCH}" "${REPO_URL}" . git -c core.hooksPath=/dev/null checkout "${GITHUB_SHA}" + - name: Free Docker space + run: | + set -euo pipefail + docker system df || true + docker buildx prune --all --force || true + docker builder prune --all --force || true + docker system prune --all --force --volumes || true + docker system df || true + - name: Run quality in golden image env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}