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

Deploy/#52-deploy-docker-file #56

Merged
merged 6 commits into from
Nov 24, 2023
Merged

Deploy/#52-deploy-docker-file #56

merged 6 commits into from
Nov 24, 2023

Conversation

Sion99
Copy link
Member

@Sion99 Sion99 commented Nov 13, 2023

✅ PR 타입(하나 이상의 PR 타입을 선택해주세요)

  • 기능 추가
  • 기능 변경
  • 기능 삭제
  • 버그 수정
  • 의존성, 환경 변수, 빌드 관련 코드 업데이트

📌 관련 이슈

closed #52

✨ 과제 내용

  • Spring 애플리케이션 빌드 후 서버에 배포하는 워크플로우 작성
  • Docker 컨테이너 이미지로 빌드하여 배포합니다
  • Dockerhub 사용하는 방법과 인스턴스에서 직접 빌드하는 방식이 있어 두 가지 모두 준비했습니다
  • 아직 작성 중입니다!

📸 스크린샷(선택)

📚 레퍼런스 (또는 새로 알게 된 내용) 혹은 궁금한 사항들

@Sion99 Sion99 added the 🛠️설정 빌드, 라이브러리, config 설정이 변경됐을 때 label Nov 13, 2023
@Sion99 Sion99 self-assigned this Nov 13, 2023
Copy link
Member

@baebae02 baebae02 left a comment

Choose a reason for hiding this comment

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

어려운 작업 수고하셨습니다 ㅠ ㅠ

KEY: ${{ secrets.KEY }}
PORT: ${{ secrets.PORT }}
INSTANCE_PATH: ./backend-dev
IMAGE_NAME: shinsion/uspray-server
Copy link
Member

Choose a reason for hiding this comment

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

시온님 도커허브에 이미지가 올라가는 거죠? 기존에는 규민오빠 계정에 올라가있었나요? @mulmuri

docker push ${{ env.IMAGE_NAME }}

- name: Pull docker image to server
uses: appleboy/ssh-action@master
Copy link
Member

Choose a reason for hiding this comment

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

오 이 appleboy는 뭔가요? 어렵네요 ..

@Sion99 Sion99 merged commit ecc7659 into main Nov 24, 2023
1 check passed
@Sion99 Sion99 deleted the deploy/#52-deploy-docker-file branch November 24, 2023 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️설정 빌드, 라이브러리, config 설정이 변경됐을 때
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[deploy] docker 파일 작성하기
2 participants