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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 08:56:33 +01:00
parent 71dec3f2f8
commit c41cf06cc9
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -121,6 +121,9 @@ jobs:
# Start all services # Start all services
docker compose up -d --remove-orphans docker compose up -d --remove-orphans
# Clean up old images to prevent disk full
docker image prune -af
# Verify services are running # Verify services are running
sleep 10 sleep 10
docker compose ps docker compose ps