How to trigger Elastic Beanstalk auto deploy new version when updating ECR image

0

I set up my Elastic Beanstalk getting image from the ECR. This is my Dockerrun.aws.json file

{
    "AWSEBDockerrunVersion": "1",
    "Image": {
        "Name": "my_ecr_repository_link:latest",
        "Update": "true"
    },
    "Ports": [
        {
            "ContainerPort": 8080,
            "HostPort": 8080
        }
    ]
}

Everything works well, but when I push a new image to ECR, the Elastic Beanstalk is not triggered to deploy a new version. Do you have any suggestions for me? Thanks for your help.

已提問 9 個月前檢視次數 72 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南