Selective Docker prune to preserve build cache; retry k3s download
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 4m2s
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 4m2s
This commit is contained in:
@@ -77,7 +77,13 @@ jobs:
|
||||
|
||||
- name: Prune Docker to reclaim disk
|
||||
run: |
|
||||
docker system prune -f 2>&1 || echo "prune skipped (another prune in progress)"
|
||||
# Remove stopped containers, dangling images, unused volumes/networks.
|
||||
# Do NOT prune build cache — that keeps Docker builds fast and under
|
||||
# the ~26min runner restart window. Selective pruning frees ~4-5GB
|
||||
# which is enough to prevent overlay2 "no space left on device" errors.
|
||||
docker container prune -f 2>&1 || true
|
||||
docker image prune -f 2>&1 || true
|
||||
docker volume prune -f 2>&1 || true
|
||||
df -h /
|
||||
|
||||
# ── El SDK setup ──────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user