Use Codeberg docker repository

reesericci
TRIAL

a year ago

Hello y'all -

I'm trying to deploy to deploy a docker container from our Codeberg repository (https://codeberg.org/reesericci/united): codeberg.org/reesericci/united:latest and running into a seemingly arbitrary limitation of Railway only pulling from Docker Hub, GHCR and Quay. I was wondering if Railway would support alternate docker repositories like Codeberg.

Thanks!

--reese

7 Replies

a year ago

It's not completely arbitrary, supporting another repository means they would also have to implement auth for the said repository, along with some other reasons I likely wasn't made aware of.

But that is a public image so you can use this bookmarklet in combination with an empty service -

https://bookmarklets.up.railway.app/image-deploy/


reesericci
TRIAL

a year ago

Thank you! (I had an error which was attached, but solved it by deploying the empty service first)

Attachments


a year ago

Yep you'd need to deploy that empty service otherwise there is technically no service.


reesericci
TRIAL

a year ago

Okay, I'm running into an issue - is there any way to make a template using a custom image?


a year ago

There is not, what is the issue?


reesericci
TRIAL

a year ago

I want to make a template for people to oneclick deploy from this image - it seems like the best solution is to push to Docker Hub even though I don't love doing that


a year ago

Yep, you can only make templates from the 3 registries you listed in your original post.You could also stick a Dockerfile in a repo with just -

FROM codeberg.org/reesericci/united:latest

Or build an image for GHCR.


Use Codeberg docker repository - Railway Help Station