Skip to content

Commit

Permalink
Fix : SSH 도커 로그인 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jobkaeHenry committed Nov 26, 2023
1 parent 6cf1bb3 commit 5ea5124
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/Client-DEV-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
password: ${{ secrets.STORYBOOK_CLOUD_PASSWORD }}
port: ${{ secrets.STORYBOOK_CLOUD_PORT }}
script: |
sudo docker login
${{secrets.CLIENT_DOCKER_USERNAME}}
${{ secrets.CLIENT_DOCKER_PASSWORD }}
sudo docker pull ${{ secrets.CLIENT_STORYBOOK_REPO }}/${{ secrets.CLIENT_DEV_SERVICE_NAME }}:latest
sudo docker rm -f ${{ secrets.CLIENT_DEV_SERVICE_NAME }}
sudo docker run --name ${{ secrets.CLIENT_DEV_SERVICE_NAME }} -d -p ${{ secrets.CLIENT_DEV_PORT }}:${{ secrets.CLIENT_DEV_PORT }} ${{ secrets.CLIENT_STORYBOOK_REPO }}/${{ secrets.CLIENT_DEV_SERVICE_NAME }}:latest
Expand Down

0 comments on commit 5ea5124

Please sign in to comment.