Update docker-image.yml

This commit is contained in:
darefjev44 2024-04-20 14:47:24 +01:00 committed by GitHub
parent 1ea0c66580
commit c5de37b853
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ jobs:
- name: Tag the image for ECR - name: Tag the image for ECR
run: | run: |
docker tag ghcr.io/${{ github.repository }}/spring-petclinic:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/spring-petclinic:latest docker tag ${{ steps.meta.outputs.tags }} ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/spring-petclinic:latest
- name: Push image to Amazon ECR - name: Push image to Amazon ECR