From 453d81cfe6fa4432b488ab662821e4d6d038c3d8 Mon Sep 17 00:00:00 2001 From: jun02160 Date: Sun, 8 Dec 2024 17:42:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20env=20=ED=95=A0=EB=8B=B9=20=EB=B0=A9?= =?UTF-8?q?=EC=8B=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit related issue #561 --- .github/workflows/cd-to-dev.yml | 6 ++---- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd-to-dev.yml b/.github/workflows/cd-to-dev.yml index 6eaeada1..7364c129 100644 --- a/.github/workflows/cd-to-dev.yml +++ b/.github/workflows/cd-to-dev.yml @@ -21,10 +21,8 @@ on: env: SPRING_PROFILES_ACTIVE: dev - ECR_APP_NAME: ${{ secrets.ECR_APP_NAME }}-${{ env.SPRING_PROFILES_ACTIVE }} - ECR_REPO: ${{ secrets.ECR_HOST }}/${{ env.ECR_APP_NAME }} - GREEN_SERVER_IMAGE: ${{ env.ECR_REPO }} - BLUE_SERVER_IMAGE: ${{ env.ECR_REPO }} + ECR_APP_NAME: ${{ secrets.ECR_APP_NAME }}-dev + ECR_REPO: ${{ secrets.ECR_HOST }}/${{ secrets.ECR_APP_NAME }}-dev jobs: build: diff --git a/docker-compose.yml b/docker-compose.yml index 5e2b5c3a..9ad306c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: playground: container_name: ${ECR_APP_NAME} - image: ${BLUE_SERVER_IMAGE} + image: ${ECR_REPO} expose: - 8080 ports: