I have created my private repository and pushed my docker image with the latest tag. Now, I have created version 0.2 of that image and pushed this image, but the latest tag does not change. I was expecting this newer version to become the latest. Similarly, when I push image:0.3, i would want that to be latest.
Am I missing something, or is there a particular way to achieve this, which I don’t know.
Right now, I am building my images like this:
docker build -t /sabhay/myimage:0.2 .
and then I am directly using docker push