From c41cf06cc98d1e42c29873f1a741cd22c94b1ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 25 Mar 2026 08:56:33 +0100 Subject: [PATCH] Prune old Docker images after deploy The 38GB disk filled up with 36.5GB of old Docker images from repeated deploys. Add docker image prune -af after each deploy to prevent this. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e5303a5..2add802 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -121,6 +121,9 @@ jobs: # Start all services docker compose up -d --remove-orphans + # Clean up old images to prevent disk full + docker image prune -af + # Verify services are running sleep 10 docker compose ps