Use Codeberg docker repository

reesericciTRIAL

10 months 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

10 months 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/


reesericciTRIAL

10 months ago

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

Attachments


10 months ago

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


reesericciTRIAL

10 months ago

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


10 months ago

There is not, what is the issue?


reesericciTRIAL

10 months 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


10 months 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.