From 7b8267dd7bb342ec6e8a45b6ccb57729ff403896 Mon Sep 17 00:00:00 2001 From: dungbik Date: Sun, 15 Mar 2026 14:22:56 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20CD=20=EB=8F=84=EC=BB=A4=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EB=A0=88=EC=A7=80=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=EB=A6=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 600e9c5..46744d0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,5 @@ name: CD +run-name: ${{ github.event.workflow_run.head_commit.message }} on: workflow_run: @@ -17,18 +18,23 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Login to DockerHub - run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.ORG_PAT }} - name: Extract Docker image metadata id: meta uses: docker/metadata-action@v5 with: - images: dungbik/flipnote-reaction + images: ghcr.io/dungbik/flipnote-reaction + - name: Build and push Docker image uses: docker/build-push-action@v6 with: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}