diff --git a/apps/base/forgejo/prune-cronjob.yaml b/apps/base/forgejo/prune-cronjob.yaml index 1e38c0c..db1851f 100644 --- a/apps/base/forgejo/prune-cronjob.yaml +++ b/apps/base/forgejo/prune-cronjob.yaml @@ -52,7 +52,12 @@ spec: echo "== before"; docker system df docker container prune -f --filter until=48h || true docker image prune -af --filter until=168h || true - docker builder prune -af --filter until=72h || true + # --filter until=72h reclaimed 0 B on a 74 GB cache (proven + # 2026-10-23): the filter is a no-op here, --keep-storage is + # deterministic and reclaimed 53 GB keeping a 20 GB warm cache. + # Never prune volumes: onionwire-target-ci and the mobile + # SDK/Gradle caches are "unused" between runs but essential. + docker builder prune -af --keep-storage 20GB || true echo "== after"; docker system df volumeMounts: - name: docker-sock