I have a CircleCI set-up to push docker images to ECR, similar to this question here: What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR
My question is two-fold:
I've read that the
latest
tag is an anti-pattern and should be avoided and instead simply use the git commit id or something like that to tag the image. How does ECR identify which is the latest image if it is not explicitly taggedlatest
?How should I trigger EKS to pick the most recent image - have things changed since that last question was posted? Does it need the
latest
tag ?