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
Solution:
go into the service settings and enter the credentials it asks for
Jump to solution
9 Replies
Percy
Percy2mo ago
Project ID: 41b0549f-2a9b-4414-9793-7dfafd1ba8f6
Celengan Babi
Celengan Babi2mo ago
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."
Brody
Brody2mo ago
have you entered your credentials for the registry?
Celengan Babi
Celengan Babi2mo ago
I am logged in using Github to Railway, so I suppose Railway should be able to access the registry?
Solution
Brody
Brody2mo ago
go into the service settings and enter the credentials it asks for
Celengan Babi
Celengan Babi2mo ago
Ah found it, I didn't expect having to pass an access token: I will try it
Brody
Brody2mo ago
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
Celengan Babi
Celengan Babi2mo ago
awesome, it works. Thanks @Brody
Brody
Brody2mo ago
no problem!