Skip to content

Commit 242aa7b

Browse files
committed
Chore: 도커 이미지 레지스트리 수정
1 parent 2decbc1 commit 242aa7b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/cd.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,23 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16-
- name: Login to DockerHub
17-
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
16+
- name: Login to GitHub Container Registry
17+
uses: docker/login-action@v3
18+
with:
19+
registry: ghcr.io
20+
username: ${{ github.actor }}
21+
password: ${{ secrets.ORG_PAT }}
1822

1923
- name: Extract Docker image metadata
2024
id: meta
2125
uses: docker/metadata-action@v5
2226
with:
23-
images: dungbik/flipnote-user
27+
images: ghcr.io/dungbik/flipnote-user
28+
2429
- name: Build and push Docker image
2530
uses: docker/build-push-action@v6
2631
with:
2732
context: .
2833
push: true
2934
tags: ${{ steps.meta.outputs.tags }}
30-
labels: ${{ steps.meta.outputs.labels }}
35+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)