Deploy Private Docker Image
Hi,
I could not seem to deploy private Docker image hosted @ ghcr.io
Is this feature supported or do I need to configure something else on Railway?
Thanks
update: I am using Pro Plan if that matters
9 Replies
Project ID:
41b0549f-2a9b-4414-9793-7dfafd1ba8f6
41b0549f-2a9b-4414-9793-7dfafd1ba8f6
The error on the build logs says: "We were unable to connect to the Registry for this image. If this error persists, please reach out to the Railway team."
have you entered your credentials for the registry?
I am logged in using Github to Railway, so I suppose Railway should be able to access the registry?
Solution
go into the service settings and enter the credentials it asks for
Ah found it, I didn't expect having to pass an access token:
I will try it
authentication for repos and the registry are separate things, and doing it that way also allows for you to authenticate with other registries like dockerhub or quay.io
awesome, it works. Thanks @Brody
no problem!