Devops/refactor/#478 ci cd 워크플로우 개선 #578
Merged
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.
🔮 resolved #478
변경 사항
COPY --link
로 원본 파일에 대한 하드링크를 생성하여 원본 파일을 가리키도록 설정Note
was
와signal
은 소스코드가 포함된 이미지를 레지스트리에 푸시하기 때문에 링크를 활용할 수 없었다.--link
를 활용하기 위해서는 원격 서버(EC2)에 모든 소스코드가 들어있어야 하는데 이는 도커의 장점을 활용하지 못한다고 판단했다.고민과 해결 과정
(선택) 테스트 결과