Skip to content

Add CI/CD workflows for building, pushing, and deploying images#21

Merged
hiho1010 merged 1 commit into
devfrom
hotfix/code-deploy
Dec 22, 2025
Merged

Add CI/CD workflows for building, pushing, and deploying images#21
hiho1010 merged 1 commit into
devfrom
hotfix/code-deploy

Conversation

@hiho1010

@hiho1010 hiho1010 commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

릴리스 노트

  • Chores
    • GitHub Actions 워크플로우를 통한 자동화된 CI/CD 파이프라인을 구성했습니다. 메인 브랜치 푸시 시 이미지 빌드 및 레지스트리 푸시, 릴리스 발행 시 프로덕션 배포를 자동화합니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

깃허브 액션 워크플로우 두 개를 신규 추가합니다. CI 워크플로우는 메인 브랜치 푸시 시 JDK 21로 프로젝트를 빌드하고 Docker 이미지를 GHCR에 푸시합니다. CD 워크플로우는 릴리스 발행 또는 수동 트리거 시 이미지를 준비하고 AWS SSM을 통해 프로덕션 호스트에 배포합니다.

Changes

Cohort / File(s) Summary
CI/CD 워크플로우 추가
​.github/workflows/ci-main-build-push.yml
메인 브랜치 푸시 시 Gradle로 프로젝트 빌드 후 JDK 21 설정, Docker 이미지 생성 및 GHCR 레지스트리에 main-<sha>, main-latest 태그로 푸시
프로덕션 배포 워크플로우 추가
​.github/workflows/cd-release-deploy.yml
릴리스 발행 또는 수동 트리거 시 GHCR에서 이미지 준비, AWS 역할 가정을 통해 AWS SSM으로 프로덕션 호스트에 배포, 성공 시 latest 태그 업데이트

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • 주의 영역:
    • CD 워크플로우의 AWS SSM 명령 실행 로직 및 오류 처리 검증 필요
    • GHCR 인증 및 이미지 태그 프로모션 로직 검토
    • 환경 변수 및 GitHub Secrets 설정 일관성 확인
    • 릴리스 이벤트와 수동 트리거 간 버전/SHA 해석 로직 검토

Poem

🐰 배포 파이프라인이 쏙쏙 들어가니,
메인 브랜치에서 이미지 폴폴 생겨나고,
릴리스될 땐 프로덕션으로 쭉쭉!
AWS 달리고 Docker 춤춘다네,
초록 불빛 켜진 배포 완료! 🚀✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch hotfix/code-deploy

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 835d02b and f2b7ff9.

📒 Files selected for processing (2)
  • .github/workflows/cd-release-deploy.yml
  • .github/workflows/ci-main-build-push.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@hiho1010 hiho1010 merged commit 18f4ca6 into dev Dec 22, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant