Blue-Green 배포 흐름

  1. EnvironmentController 구현
  2. Docker 기반 서비스 구현
  3. GitHub Actions를 활용한 CI/CD 자동화
  4. 도커 구축

1. EnvironmentController 코드 작성

application.yaml


server:
  env: blue
  
spring:
  profiles:
    active: local
    group:
      local: local, common, secret
      blue: blue, common, secret
      green: green, common, secret

2. Actions 작성