ci: add docker container cleanup before test run
CI Pipeline / HTML Lint (push) Successful in 7s
Deploy QA / Build and Push (push) Successful in 13s
CI Pipeline / Build Docker Image (push) Failing after 37s
CI Pipeline / Security Scan (push) Has been skipped
Deploy QA / Deploy to QA (push) Failing after 1s
CI Pipeline / Generate Summary (push) Failing after 1s
Deploy QA / Notification (push) Failing after 1s

add docker stop and rm commands for ci-test container with || true to avoid name conflicts from leftover containers from prior CI runs
This commit is contained in:
Nicholas Ceballos
2026-06-01 15:39:45 -06:00
parent 1171e15503
commit 4dd96a267d
+2
View File
@@ -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 }} \