Skip to content

Conversation

@sosow0212
Copy link
Contributor

@sosow0212 sosow0212 commented Dec 18, 2025

📄 작업 내용

prod 브랜치에 푸시될 때마다 자동으로 아래 과정을 수행하는 CI/CD 파이프라인을 추가했습니다.
(develop 브랜치를 source, 배포용 prod 브랜치를 target으로 두고 PR Merge를 통해 배포)

  • Spring Boot 애플리케이션 빌드 (bootJar)
  • Dockerfile로 Docker 이미지 빌드
  • GitHub Container Registry (GHCR)에 이미지 푸시
  • EC2 서버에 SSH로 접속해 기존 컨테이너 중지 → 새 이미지 pull → 컨테이너 재실행

필요한 GitHub Secrets

  • DEPLOY_WEBHOOK_URL: 배포 알림 받을 웹훅 URL
  • EC2_HOST: 배포 대상 EC2 퍼블릭 IP 또는 도메인
  • EC2_USER: SSH 접속 유저
  • EC2_SSH_KEY: PEM 키 전체 내용 (-----BEGIN RSA PRIVATE KEY----- 포함)

🙋🏻 이슈 / 궁금증 / 추가사항

@sosow0212 sosow0212 requested a review from gustj3104 December 18, 2025 12:06
@sosow0212 sosow0212 self-assigned this Dec 18, 2025
@sosow0212 sosow0212 added the feat 기능 추가 label Dec 18, 2025
Copy link
Contributor

@gustj3104 gustj3104 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다 수고하셨습니다!

@sosow0212 sosow0212 merged commit 0afce25 into develop Dec 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants