Use private image from Google Cloud Artifact Registry
I'm trying to setup the authentication to GCP Artifact Registry, but without much success.
I've followed the instructions here: https://cloud.google.com/artifact-registry/docs/docker/authentication#json-key
I try to configure the credentials in RunPod using the contents of the base64 key file, but I immediately get an error from RunPod as soon as I hit save. A red popup on the top right saying "❌ Failed to Update Registry Credential".
I guess this is because the key is too long? (3185 chars)
How should I get around this?
13 Replies
I wanna say they only do docker registry credentials?
I could be wrong
@flash-singh
Do u guys support other registry credentials?
all are supported, they use same spec
well, technically this is still docker login. You can use the docker login command to authenticate with google cloud, but it requires the huge key.
google must of updated and increased their password length again, it used to be lower, @zacksparrow what char length do we allow? is it possible to increase that to 1400 with low effort?
yeah that should be doable
that would be great, thanks for the quick response. any timeline on that?
hmm it looks like we currently allow lengths of up to 4000 char
try the non base64
the non-base 64 worked 🤷♂️
the number of chars the json file is 2386
the number of chars in the b64-encoded file is 3185
according to wc -m <file>
(I noticed just now that I made a typo in my first message. its 3185 chars, not 1385)
still doesnt make sense if the max length is 4000 according to @zacksparrow
yeah we also encode it which would potentially push it beyond the character limit
thanks for the help!