So I am building an image with a dockerfile locally, and then pushing the image to quay with a specific tag
i.e.
podman build -t quay.io/user/test:v1.0
pushman push quay.io/user/test:v1.0
I see the image in quay and can pull and run it fine.
However, if I make changes to the code, and run those same commands again
podman build -t quay.io/user/test:v1.0
pushman push quay.io/user/test:v1.0
I see that the quay image shows an updated image has been received on that tag. However, when I pull the image the code changes are not present.
If I push the exact same sha that resulted from the pod build to quay with a different tag (i.e. v2) the changes do show.
Is there no way to overwrite an existing tag in the manner I am trying? What is the correct way to do this?