diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e46468c..202332d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -105,8 +105,8 @@ jobs: run: | docker push "${REGISTRY_HOST}/${PAGE_FETCHER_API_IMAGE}:${IMAGE_TAG}" - - name: Reclaim disk space + - name: Reclaim disk space (keep recent build cache) if: always() run: | - docker image prune -af - docker builder prune -af \ No newline at end of file + docker image prune -f # dangling only (keep base images) + docker builder prune -f --filter until=336h # keep ~2 weeks of layer cache \ No newline at end of file