Update docker-image.yml

This commit is contained in:
darefjev44 2024-04-20 15:01:32 +01:00 committed by GitHub
parent 6a6d35c774
commit d33b82694b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ jobs:
- name: Tag the image for ECR - name: Tag the image for ECR
run: | run: |
docker tag ${{ needs.build.outputs.docker_tag }} ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/spring-petclinic:latest docker tag ${{ needs.docker-build.outputs.docker_tag }} ${{ 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