Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions를 사용한 dev 서버 자동화 배포 CD 파이프라인 구축 #100

Closed
3 tasks done
LeeHanEum opened this issue Nov 14, 2024 · 0 comments · Fixed by #102
Closed
3 tasks done

Github Actions를 사용한 dev 서버 자동화 배포 CD 파이프라인 구축 #100

LeeHanEum opened this issue Nov 14, 2024 · 0 comments · Fixed by #102
Assignees
Labels
✨feature create new feature 🙋🏻‍♂️meeting team meet up required

Comments

@LeeHanEum
Copy link
Member

LeeHanEum commented Nov 14, 2024

Describe

Github Actions를 사용하여 dev 서버 자동화 배포 CD 파이프라인을 구축합니다.
자동화 배포의 동작 순서는 다음과 같습니다.

  1. Github Actions 자동화 배포 워크플로 실행.
  2. Docker Hub에 Docker 이미지 푸시
  3. Docker Hub에 푸시된 이미지를 dev 서버에서 docker-compose를 사용하여 pull
  4. docker-compose up으로 컨테이너를 실행, 애플리케이션 배포
  5. 배포 후 모니터링 및 문제가 있을 경우 롤백 (옵션)

Tasks

  • Dockerfile 작성
  • docker-compose.yml 작성
  • Github Actions 워크플로 작성 dev-build-deploy.yml

ETC

레퍼런스들 많이 찾아보세요!

@LeeHanEum LeeHanEum added ✨feature create new feature 🙋🏻‍♂️meeting team meet up required labels Nov 14, 2024
@LeeShinHaeng LeeShinHaeng linked a pull request Nov 16, 2024 that will close this issue
LeeShinHaeng added a commit that referenced this issue Nov 18, 2024
* chore: Dockerfile 및 CD 설정 추가

* chore: gitignore에 docker-compose 추가

* fix: actions 중복 제거

* refactor: 도커 이미지 태깅

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* refactor: 수동 트리거로 변경

* refactor: 일부 네이밍 수정

---------

Co-authored-by: 이한음 <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: LeeHanEum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨feature create new feature 🙋🏻‍♂️meeting team meet up required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants