Can't access private Google Artifact Registry (gcr.io) images
Hello, I can't connect private Google Artifact Registry (aka. Google Container Registry) images, because Google simply doesn't provide a username and password credentials for us. Is there a way to pass credentials to serverless worker config like how circleci did https://discuss.circleci.com/t/authenticated-docker-pulls-for-gcp-artifact-registry/42194 ?
CircleCI Discuss
Authenticated docker pulls for GCP Artifact Registry?
I’d like to use private docker images stored in GCP Artifact Registry for some of my jobs. I’ve been looking through the documentation but I haven’t found a way to do authenticated docker pulls from there. My understanding is that there’s no way to generate a long-lived username/password, you can only have a long-lived service account key (whic...
13 Replies
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
the base64 solution didn't work but
_json_key
option worked! Thank you:beers:Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I've checked it again and unfortunately it's not working 🥺
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I've pasted one line json credentials there. I've followed this part as well: https://cloud.google.com/artifact-registry/docs/docker/authentication?hl=en#json-key
checking my permissions on service account hoping to find solution
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Try to use it, you will get an error if its not a one line. You should convert it to one line if you want to use it
The issue is not runpod related on my side
I’m trying to figure out why I can’t use this approach
Tried with a fresh ubuntu machine and I got the docker login error with unauthorized access label
Will try it tomorrow 🤷🏻♂️
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
@Guray
Escalated To Zendesk
The thread has been escalated to Zendesk!