Skip to content

Commit e6b0b1f

Browse files
JIWONKIMSclaude
andcommitted
fix: Add missing CONTAINER_2_NAME for Blue/Green deployment
Added CONTAINER_2_NAME environment variable to support proper Blue/Green deployment. Without this, the GREEN variable was empty, causing containers to be created with random names instead of team11_1/team11_2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c9aec87 commit e6b0b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: deploy.yml
33
env:
44
IMAGE_REPOSITORY: team11 # GHCR 이미지 리포지토리명(소유자 포함 X)
55
CONTAINER_1_NAME: team11_1 # 슬롯1(고정 이름)
6+
CONTAINER_2_NAME: team11_2 # 슬롯2(고정 이름)
67
CONTAINER_PORT: 8080 # 컨테이너 내부 포트(스프링부트)
78
EC2_INSTANCE_TAG_NAME: team11-terra-ec2-1 # 배포 대상 EC2 Name 태그
89
DOCKER_NETWORK: common # 도커 네트워크

0 commit comments

Comments
 (0)