From 236b6ad928e260098a819f4705124168c7e6fef7 Mon Sep 17 00:00:00 2001 From: Park Sejin Date: Tue, 13 Aug 2024 19:07:12 +0900 Subject: [PATCH] =?UTF-8?q?[DEPLOY]:=20deploy.yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e6caf68..1518778 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -51,6 +51,11 @@ jobs: runs-on: self-hosted steps: + - name: docker login + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} # 1. 최신 이미지를 풀받습니다 - name: docker pull run: sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}