I'm using github, jenkins, aws ECR, aws ECS.
I want to deploy automatically when github have new commit. When github have new commit, github sends a event webhook to jenkins, jenkins builds the images and pushes to ECR with tag 'latest'.
I wonder how can I make my ECS service restart task and redeploy images automatically when the ECR image is changed?