chore(ci): make docker cleanup robust against hangs and log system disk usage
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 18s
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 QA (push) Has been cancelled
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 18s
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 QA (push) Has been cancelled
This commit is contained in:
@@ -43,15 +43,13 @@ jobs:
|
||||
- name: 🧹 Maintenance (High Density Cleanup)
|
||||
shell: bash
|
||||
run: |
|
||||
echo "=== Docker Disk Usage ==="
|
||||
docker system df || true
|
||||
echo "=== System Disk Usage ==="
|
||||
df -h || true
|
||||
echo "Purging old build layers and dangling images..."
|
||||
docker system prune -a --volumes -f
|
||||
docker builder prune -a -f
|
||||
docker volume prune -f
|
||||
echo "=== Docker Disk Usage After Prune ==="
|
||||
docker system df || true
|
||||
docker builder prune -a -f || true
|
||||
docker image prune -a -f || true
|
||||
docker system prune -f || true
|
||||
echo "=== System Disk Usage After Prune ==="
|
||||
df -h || true
|
||||
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user