I have a website deployed using docker image inside google compute instance.
I'm unable to update the google cloud instance with a new image. Updating the compute instance with new docker image and running the container changes nothing.
Here are the steps I take to update the google compute instance:
docker build -t vue_app -f deploy/web/Dockerfile . --tag gcr.io/namesapi-1581010760883/vue-app:v1
docker push gcr.io/namesapi-1581010760883/vue-app:v1
gcloud compute instances update-container --container-image=gcr.io/namesapi-1581010760883/vue-app:v1 vue-app-vm
So in the first line I build the image containing the website and http-server. I ran it locally and can confirm the image is working and contains all the changes I expect.
Next line is pushing the image to google cloud and the final third line is supposed to update an existing google compute instance with the new image.
After running this none of the changes are reflected in the instance. I visit the website hosted on the instance and see that nothing has changed. I've done these same steps many times and it all worked fine up until recently. What am I missing?