Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeeshi authored Jul 24, 2024
1 parent 0b8dd96 commit 1640235
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 @@ -64,13 +64,13 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

# - name: Tag Docker image for ECR
# run: |
# echo "Tagging Docker image..."
# docker tag ${{ vars.CONTAINER_IMAGE_REGISTRY }}/${{ vars.CONTAINER_IMAGE_GROUP }}/backend:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-north-1.amazonaws.com/nrapp/backend:latest
- name: Tag Docker image for ECR
run: |
echo "Tagging Docker image..."
docker tag ${{ vars.CONTAINER_IMAGE_REGISTRY }}/${{ vars.CONTAINER_IMAGE_GROUP }}/backend:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-north-1.amazonaws.com/nrapp/backend:latest
# - name: List Docker images after tagging
# run: docker images
- name: List Docker images after tagging
run: docker images

- name: Push Docker image to ECR (Release)
run: |
Expand Down

0 comments on commit 1640235

Please sign in to comment.