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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则