Cannot deploy private GHCR image
tabdollahi
PROOP

a year ago

I upgraded to Pro specifically to try this feature.

I generated a github personal access token with the scope read:packages and in the credentials field on Railway for the image, I entered in the format of <github_username>:

No idea if this is a syntax issue or scope issue with the token

Solved

2 Replies

tabdollahi
PROOP

a year ago

Nevermind, I figured out to enter ONLY the token in the credentials field and then it worked.

Some feedback: clearer documentation on this feature would be appreciated. I'm assuming it works like this because my github account is linked?


echohack
EMPLOYEE

a year ago

No, a GITHUB_TOKEN works regardless of the linked GitHub account. Thanks for the suggestion on docs. API tokens can be pretty confusing (there's alot of different ones especially on github) so I understand your confusion.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

9 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...