Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AmadGakkhar authored Feb 28, 2024
1 parent 7916275 commit 9121197
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ jobs:
uses: aws-actions/amazon-ecr-login@v1


# - name: Pull latest images
# run: |
# docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
- name: Pull latest images
run: |
docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
# - name: Stop and remove container if running
# run: |
# docker ps -q --filter "name=catdog" | grep -q . && docker stop catdog && docker rm -fv catdog
- name: Stop and remove container if running
run: |
docker ps -q --filter "name=catdog" | grep -q . && docker stop catdog && docker rm -fv catdog
- name: Run Docker Image to serve users
run: |
Expand Down

0 comments on commit 9121197

Please sign in to comment.