From 4dd96a267d978ba437a0914df634dd5f0bf5627e Mon Sep 17 00:00:00 2001 From: Nicholas Ceballos Date: Mon, 1 Jun 2026 15:39:45 -0600 Subject: [PATCH] ci: add docker container cleanup before test run add docker stop and rm commands for ci-test container with || true to avoid name conflicts from leftover containers from prior CI runs --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d306521..daaef0f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -67,6 +67,8 @@ jobs: - name: Verify image starts run: | set -euo pipefail + docker stop ci-test || true + docker rm ci-test || true docker run -d --name ci-test \ -e APP_ENV=ci \ -e APP_VERSION=ci-${{ gitea.sha }} \