From 757418f3085f6885930209de929738f0d6be11fb Mon Sep 17 00:00:00 2001 From: Arachne <66822642+Arachneee@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:13:43 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20blue=20green=20=EB=AC=B4=EC=A4=91?= =?UTF-8?q?=EB=8B=A8=20=EB=B0=B0=ED=8F=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-prod.yml b/.github/workflows/backend-prod.yml index 34ea75d8..42d74076 100644 --- a/.github/workflows/backend-prod.yml +++ b/.github/workflows/backend-prod.yml @@ -196,7 +196,7 @@ jobs: echo "Sleeping on port $CURRENT_PORT..." sleep 15 echo "Removing on port $CURRENT_PORT..." - sudo docker ps -a --filter "publish=$CURRENT_PORT" --format "{{.ID}}" | xargs sudo docker rm + sudo docker ps -a --format "{{.Names}}" | grep "haengdong-backend-$CURRENT_PORT" | xargs sudo docker rm else echo "No container to stop and remove." fi