Skip to content

Commit

Permalink
Merge pull request #20 from nadeeshi/SPRIN-234-Create-Docker-image-an…
Browse files Browse the repository at this point in the history
…d-push-to-ECR

SPRIN-234 - Remove manual tagging since quarkus container-image do by…
  • Loading branch information
nadeeshi authored Jul 14, 2024
2 parents 7ce4784 + 648d6f4 commit f195d73
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 }}/quarkus-app:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-2.amazonaws.com/nrapp/quarkus-app:latest
# - name: Tag Docker image for ECR
# run: |
# echo "Tagging Docker image..."
# docker tag ${{ vars.CONTAINER_IMAGE_REGISTRY }}/${{ vars.CONTAINER_IMAGE_GROUP }}/quarkus-app:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-2.amazonaws.com/nrapp/quarkus-app: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 f195d73

Please sign in to comment.