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:
parent
71dec3f2f8
commit
c41cf06cc9
1 changed files with 3 additions and 0 deletions
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue