79391018

Date: 2025-01-27 13:55:16
Score: 0.5
Natty:
Report link

The gcloud auth configure-docker us-central1-docker.pkg.dev command recomended the official docs did not work with the docker cred-helper.

Instead I went with the docker login method

gcloud auth print-access-token | sudo docker login -u oauth2accesstoken --password-stdin https://us-central1-docker.pkg.dev

Note: add Sudo before your docker commands if you have not set users properly

Hope this helps

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): Hope this helps
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhishek Ghadge