Skip to content

Commit

Permalink
fix: env 할당 방식 변경
Browse files Browse the repository at this point in the history
related issue #561
  • Loading branch information
jun02160 committed Dec 8, 2024
1 parent 4042a02 commit 453d81c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:
playground:
container_name: ${ECR_APP_NAME}
image: ${BLUE_SERVER_IMAGE}
image: ${ECR_REPO}
expose:
- 8080
ports:
Expand Down

0 comments on commit 453d81c

Please sign in to comment.