From bb10199345a798ad3eeed0cedc1921e85ee06423 Mon Sep 17 00:00:00 2001 From: hyunseo Date: Fri, 8 Nov 2024 01:07:24 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EB=8C=80=EB=AC=B8=EC=9E=90=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=EB=A5=BC=20=EC=86=8C=EB=AC=B8=EC=9E=90=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 3914ff9b..1644596c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -130,10 +130,10 @@ jobs: # 이전 컨테이너 정리 - name: Remove previous docker container run: | - if [[ "${{ env.CURRENT_VERSION }}" != "none" ]]; then - echo "Removing previous container inplace-${{ env.CURRENT_VERSION }}" - sudo docker stop inplace-${{ env.CURRENT_VERSION }} || true - sudo docker rm inplace-${{ env.CURRENT_VERSION }} || true + if [[ "${{ env.current_version }}" != "none" ]]; then + echo "Removing previous container inplace-${{ env.current_version }}" + sudo docker stop inplace-${{ env.current_version }} || true + sudo docker rm inplace-${{ env.current_version }} || true else echo "No active container to remove" fi