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 c804f0d commit 4042a02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ on:

env:
SPRING_PROFILES_ACTIVE: dev
ECR_APP_NAME: ${{ secrets.ECR_APP_NAME }}-$SPRING_PROFILES_ACTIVE
ECR_REPO: ${{ secrets.ECR_HOST }}/$ECR_APP_NAME
GREEN_SERVER_IMAGE: $ECR_REPO
BLUE_SERVER_IMAGE: $ECR_REPO
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 }}

jobs:
build:
Expand Down

0 comments on commit 4042a02

Please sign in to comment.