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)
|
- name: 🧹 Maintenance (High Density Cleanup)
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "=== Docker Disk Usage ==="
|
echo "=== System Disk Usage ==="
|
||||||
docker system df || true
|
|
||||||
df -h || true
|
df -h || true
|
||||||
echo "Purging old build layers and dangling images..."
|
echo "Purging old build layers and dangling images..."
|
||||||
docker system prune -a --volumes -f
|
docker builder prune -a -f || true
|
||||||
docker builder prune -a -f
|
docker image prune -a -f || true
|
||||||
docker volume prune -f
|
docker system prune -f || true
|
||||||
echo "=== Docker Disk Usage After Prune ==="
|
echo "=== System Disk Usage After Prune ==="
|
||||||
docker system df || true
|
|
||||||
df -h || true
|
df -h || true
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user