I am trying to push docker image to GCP, but i am still getting this error:
unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication
I follow this https://cloud.google.com/container-registry/docs/quickstart step by step and everything works fine until docker push
It's clear GCP project
I've already tried:
- use gcloud as a Docker credential helper:
gcloud auth configure-docker
- reinstall Cloud SDK and
gcloud init
- add Storage Admin role to my account
What I am doing wrong?
Thanks for any suggestions