I use the Docker Hub to store a private Docker image, there is a web check in the repository that, after updating the image, calls the service that I created for:
- update ECS task definition
- upgrade ECS
- unregisters the old ECS task definition
The service works accordingly. After starting, ECS creates a new task with a new task definition, stops the task by defining the old task, and the service returns with the new definition.
The fact is that the Docker image is not updated, as soon as the service starts in the new task definition, it remains with the old image.
Am I doing something wrong? How to provide docker image update?
source
share