1 Answer
- Newest
- Most votes
- Most comments
3
The best practice is for you to not use the LATEST tag. Instead, set the artifact URI to point to a specific image hash. This way, each version of your component is entirely well-defined with a single immutable image version.
This will ensure that when you publish a new version of your component with the updated artifact, the new image will be downloaded at that time.
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
Can you please provide a recipe example of how to point to a specific hash?
docker:registry/image@sha256:hash_goes_here
https://hackernoon.com/docker-images-name-vs-tag-vs-digest