diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index d4c47f7..0214394 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -158,6 +158,15 @@ jobs: git clone --depth=1 --branch="${BRANCH}" "${REPO_URL}/${GITHUB_REPOSITORY}.git" . git checkout "${GITHUB_SHA}" + - name: Free Docker build 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: Build and push branch images env: GITEA_TOKEN: ${{ gitea.token }}