#Can't access private Google Artifact Registry (gcr.io) images

1 messages · Page 1 of 1 (latest)

raw trench
#

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 ?

spare mist
#

username: _json_key
password: $GCS_AUTHORIZATION

#
#

you can paste the raw password into the registry auth

#

and use that username

raw trench
#

the base64 solution didn't work but _json_key option worked! Thank youbeers

spare mist
#

Your welcome

raw trench
#

I've checked it again and unfortunately it's not working 🥺

spare mist
#

M did you follow the steps?

raw trench
#

yes

spare mist
#

It still didn't work? Can you send what you pasted on the password
are you using the whole .json file? ( dont send a working one tho)

#

It's not the base64 encoded right

raw trench
#

checking my permissions on service account hoping to find solution

spare mist
#

and your image tag?

#

maybe you can paste your image tag, who knows its missing the first parts?

#

did you select this one or?

#

the json doesn't seem to be one liner for me, just tried to make one, and downloaded the json

raw trench
#

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 🤷🏻‍♂️

spare mist
#

I see I haven't tried this sorry, you can also ask in support ticket if you want