Skip to content

Commit

Permalink
Merge pull request #56 from prgrms-web-devcourse-final-project/hotfix…
Browse files Browse the repository at this point in the history
…/cd-sudo

hotfix: cd sudo 제거
  • Loading branch information
hgh1472 authored Dec 2, 2024
2 parents c6e2c06 + ac18e5c commit e251a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: EC2로 Docker Compose 배포
run: |
ssh -o StrictHostKeyChecking=no -i bottler-keypair.pem ubuntu@${{ secrets.EC2_PUBLIC_IP }} <<EOF
aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | sudo docker login --username AWS --password-stdin ${{ secrets.ECR_URI }}
aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.ECR_URI }}
docker pull ${{ secrets.ECR_URI }}/bottler-backend:${{ github.sha }}
cd ~/docker-compose
Expand Down

0 comments on commit e251a51

Please sign in to comment.