79215578

Date: 2024-11-22 15:25:19
Score: 2
Natty:
Report link

I have docker push isssue to GCR. I have run the following steps but the docker push to GCR. Where is the issue? Thanks.

USER ~ % gcloud auth configure-docker
WARNING: Your config file at [/Users/user/.docker/config.json] contains these credential helper entries:

{
  "credHelpers": {
    "asia.gcr.io": "gcloud",
    "eu.gcr.io": "gcloud",
    "gcr.io": "gcloud",
    "marketplace.gcr.io": "gcloud",
    "staging-k8s.gcr.io": "gcloud",
    "us.gcr.io": "gcloud"
  }
}
Adding credentials for all GCR repositories.
WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
gcloud credential helpers already registered correctly.
USER ~ % docker tag python:latest gcr.io/MY_PROJECT_NAME/python:latest
USER ~ % docker push gcr.io/MY_PROJECT_NAME/python:latest
The push refers to repository [gcr.io/MY_PROJECT_NAME/python]
e93c1a033bf9: Unavailable 
8bc6ea9985d6: Unavailable 
b12614aa3190: Unavailable 
0c20aaaaf2cb: Unavailable 
1a3f1864ec54: Unavailable 
464f864cfaa8: Unavailable 
9cbd322119a1: Unavailable 
failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://gcr.io/v2/token?scope=repository%3AMY_PROJECT_NAME%2Fgcr.io%2Fpython%3Apull&scope=repository%3AMY_PROJECT_NAME%2Fpython%3Apull%2Cpush&service=gcr.io: 403 Forbidden
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Saeed