1 Answer
- Newest
- Most votes
- Most comments
1
Generally I would suggest you to configure your repository to be immutable to prevent image tags from being overwritten if you need to use older version of image. Immutable tags gives you a way to easily and uniquely identify an image.
In your case, if your image tagged like v1.0.1, v1.0.2, v1.0.3 etc.. You can use the old version tag directly for rollback (v1.0.1). This blog by Marius discussed best practice about how we should tag the image.
You can edit ECR Image tag mutability here: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago