Fix CI disk exhaustion: docker system prune at job start #37
@@ -75,6 +75,11 @@ jobs:
|
||||
if: github.event_name != 'pull_request'
|
||||
run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
|
||||
|
||||
- name: Prune Docker to reclaim disk
|
||||
run: |
|
||||
docker system prune -f
|
||||
df -h /
|
||||
|
||||
# ── El SDK setup ──────────────────────────────────────────────────────
|
||||
# Push builds: extract elb + elc + runtime from ci-base (always latest).
|
||||
# PR builds: use committed bin/elb-linux-amd64 + bin/elc-linux-amd64 + runtime/.
|
||||
|
||||
@@ -96,6 +96,11 @@ jobs:
|
||||
- name: Configure docker auth for Artifact Registry
|
||||
run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
|
||||
|
||||
- name: Prune Docker to reclaim disk
|
||||
run: |
|
||||
docker system prune -f
|
||||
df -h /
|
||||
|
||||
- name: Compute image tag
|
||||
id: tag
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user