fix: use docker compose down (not stop) to properly tear down staging

stop leaves the container/network in place, blocking port rebind.
down removes everything cleanly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kpa-clawbotandCopilot committed 2026-03-29 12:53:18 -07:00
1 parent 424e4675ae
commit c271093795
1 file changed
+2 -5
+2 -5
View File
@@ -260,12 +260,9 @@ jobs:
- name: Stop old containers
run: |
docker compose --profile staging-go down 2>/dev/null || true
# Kill legacy container names from pre-rename era
docker rm -f meshcore-staging meshcore-staging-go 2>/dev/null || true
# Kill current container names
docker compose --profile staging-go stop staging-go 2>/dev/null || true
docker rm -f corescope-staging-go corescope-staging 2>/dev/null || true
fuser -k 82/tcp 2>/dev/null || true
docker rm -f meshcore-staging meshcore-staging-go corescope-staging 2>/dev/null || true
sleep 2
- name: Start staging on port 82