-
Notifications
You must be signed in to change notification settings - Fork 0
fix(#7): CD에서 image pull 방식으로 수정 #18
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e5c3a5e
fix(#7): CI와 CD 설정 파일 수정
ParkJiYeoung8297 1fd6932
fix(#7): postgresql에서 mysql로 설정 수정
ParkJiYeoung8297 0d90323
fix(#7): Dockerfile 경로 못 찾는 오류 수정
ParkJiYeoung8297 dcec8ed
fix(#7): CD에서 image pull 방식으로 수정
ParkJiYeoung8297 745b66b
fix(#7): 도커 스프링 포트 번호 변경
ParkJiYeoung8297 2cd14f0
fix: dev와 merge 과정에서 충돌 해결
ParkJiYeoung8297 71f5270
chore: dev와 merge 과정에서 메세지 기능 누락된 것 추가
ParkJiYeoung8297 735d309
Merge branch 'dev' into fix(#7)ci-cd-fix
ParkJiYeoung8297 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker 이미지 태그로
prod를 사용하고 계십니다. 이 방식은 새로운 이미지를 배포할 때마다 같은 태그를 덮어쓰게 되어, 특정 버전으로 롤백하기 어렵게 만들 수 있습니다.Git commit hash나 시맨틱 버전(예:
v1.2.3)과 같이 각 빌드를 고유하게 식별할 수 있는 태그를 사용하는 것을 권장합니다. 이렇게 하면 배포된 버전을 명확하게 추적하고, 문제 발생 시 안정적인 이전 버전으로 쉽게 롤백할 수 있습니다.예시:
CI/CD 파이프라인에서
IMAGE_TAG환경 변수를 설정하여 동적으로 태그를 주입할 수 있습니다.