actions-hub / gcloud

GitHub Action for interacting with Google Cloud Platform (GCP)
https://github.com/marketplace/actions/google-cloud-platform-gcp-cli-gcloud
MIT License
232 stars 27 forks source link

Issues pushing docker images to GCR #27

Closed vish91 closed 2 years ago

vish91 commented 3 years ago

Hi, was wondering if anyone has any exmaples of using action-hub/gcloud to setup the auth configure-docker and being able to push docker images to GCR.

I have been trying and getting authentication failures but it seems to work if I switch back to the old way of doing docker pushes i.e via gcloud docker -- push .. instead of just a simple docker push ...

I did also validate that the authentication is setup because before running the docker push action I use gcloud@master to setup my docker authentication by running: gcloud auth configure-docker

So, if anyone has success or a working example that would be great help.