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.

gefragt vor 9 Monaten72 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen