Skip to content

Commit

Permalink
feat : ssh 로 ec2 상에서 docker login 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Doncham committed Mar 11, 2024
1 parent 599f54d commit 051f5e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/githubAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
envs: GITHUB_SHA
script: |
sudo docker rm -f $(docker ps -qa)
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker pull ${{ secrets.DOCKER_REPO }}:backend
sudo docker pull ${{ secrets.DOCKER_REPO }}:frontend
docker-compose up -d
Expand Down

0 comments on commit 051f5e1

Please sign in to comment.