Skip to content

Commit eb5a3f7

Browse files
authored
fix: Improve docker cleanup (#3622)
1 parent b8c3c62 commit eb5a3f7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ jobs:
200200
# show progress
201201
sudo docker stack services pubpub
202202
203-
# Remove images not used by running containers, keeping the last 72h for rollback
203+
# Clean up stopped containers and old images
204+
sudo docker container prune -f
204205
sudo docker image prune -a --filter "until=72h" -f
205206
206207
# wait until rollout is complete and then clear cache

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ tsconfig.tsbuildinfo
7171

7272
infra/pgdata/
7373
tmp/
74+
75+
planning/
76+
.claude

0 commit comments

Comments
 (0)