From caba71845478144181cfc576e1c70840b2180ed0 Mon Sep 17 00:00:00 2001 From: Park Sejin Date: Tue, 13 Aug 2024 18:56:20 +0900 Subject: [PATCH] =?UTF-8?q?[DEPLOY]:=20deploy.yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7069155..e6caf68 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,7 +61,7 @@ jobs: # 3. 최신 이미지를 컨테이너화하여 실행시킵니다 - name: docker run new container - run: sudo docker run --name hexagonal-prod --rm -d -p 8080:8080 -e TZ=Asia/Seoul ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }} + run: sudo docker run --name hexagonal-prod --rm -d -p 8080:8080 -e --env-file /home/azureuser/.env TZ=Asia/Seoul ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }} # 4. 미사용 이미지를 정리합니다 - name: delete old docker image