From f4e6fe587cacca3bc81ebfbbf85c8427e6953948 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 17 Mar 2026 20:57:33 +0100 Subject: [PATCH] fix(ci): tear down leftover containers before e2e run Port 5432 was already bound by a zombie container from a previous failed run, preventing docker compose from starting the DB. Add a cleanup step at the top of the e2e job to ensure a clean state. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 14efe722..ea5d461e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -63,6 +63,9 @@ jobs: - uses: actions/checkout@v4 # ── Infrastructure ────────────────────────────────────────────────────── + - name: Cleanup leftover containers from previous runs + run: docker compose down --volumes --remove-orphans + - name: Start DB and MinIO run: docker compose up -d db minio create-buckets