Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/Backend-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 내부적으로 EC2 상에서만 실패로 간주됩니다.
# (2) 따라서, 실제 성공 여부는 EC2 내부에서 별도로 생성되는 배포 과정을 담은 로그 파일에서 확인해야 합니다.

name: deploy
name: Backend CD

env:
IMAGE_REPOSITORY: onetop-relife-be # GHCR 이미지 리포지토리명(소유자 포함 X)
Expand Down Expand Up @@ -99,6 +99,13 @@ jobs:
- name: Docker Buildx 설치
uses: docker/setup-buildx-action@v3

- name: 레지스트리 로그인
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# 저장소 소유자명을 소문자로 (GHCR 경로 표준화)
- name: set lower case owner name
run: |
Expand Down