Skip to content

Commit

Permalink
Fix : 잘못된 주소 참조 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
lhw414 committed Jan 2, 2024
1 parent a85a92c commit 82bedc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
docker pull ${{ secrets.ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:${{ github.sha }}
docker pull $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker stop my-container || true
docker rm my-container || true
docker run -d --name my-container -p 80:8080 ${{ secrets.ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:${{ github.sha }}

0 comments on commit 82bedc1

Please sign in to comment.