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 }}