Skip to content

Commit 5160921

Browse files
authored
Update deploy.yml (#59)
* Update deploy.yml * Update deploy.yml
1 parent dca5e90 commit 5160921

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,15 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- uses: actions/checkout@v4
81+
8182

83+
# GHCR 로그인
84+
- name: 레지스트리 로그인
85+
uses: docker/login-action@v3
86+
with:
87+
registry: ghcr.io
88+
username: ${{ github.actor }}
89+
password: ${{ secrets.GITHUB_TOKEN }}
8290
# 빌드 컨텍스트에 .env 생성 (비어있어도 실패하지 않게)
8391
- name: .env 파일 생성
8492
env:
@@ -91,13 +99,7 @@ jobs:
9199
- name: Docker Buildx 설치
92100
uses: docker/setup-buildx-action@v3
93101

94-
# GHCR 로그인
95-
- name: 레지스트리 로그인
96-
uses: docker/login-action@v3
97-
with:
98-
registry: ghcr.io
99-
username: ${{ github.actor }}
100-
password: ${{ secrets.GITHUB_TOKEN }}
102+
101103

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

0 commit comments

Comments
 (0)