mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Update docker-image.yml
This commit is contained in:
parent
d0090f9a99
commit
1ea0c66580
1 changed files with 5 additions and 0 deletions
5
.github/workflows/docker-image.yml
vendored
5
.github/workflows/docker-image.yml
vendored
|
@ -53,5 +53,10 @@ jobs:
|
|||
id: login-ecr
|
||||
uses: aws-actions/amazon-ecr-login@v1
|
||||
|
||||
- name: Tag the image for ECR
|
||||
run: |
|
||||
docker tag ghcr.io/${{ github.repository }}/spring-petclinic:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/spring-petclinic:latest
|
||||
|
||||
|
||||
- name: Push image to Amazon ECR
|
||||
run: docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/spring-petclinic:latest
|
||||
|
|
Loading…
Reference in a new issue