Hi, I am very new to Docker, so please forgive me this very basic question:
I have set up a private registry and pushing/pulling works great. I see that the default tag of an image that is pushed, is always “latest”. If I now make changes to the image and push that up as well, it will overwrite the existing “latest” image (if I am not mistaken).
How do I push images to the registry, making sure that only the truly latest image is tagged as “latest”? Or do I never use “latest”, but rather always tag images with a version number e.g “1.0”, “1.1”, etc.?