22 days ago
Hi Railway team,
I'm on the Pro plan and trying to deploy a service from my self-hosted Zot registry (OCI Distribution Spec compliant, standard Basic auth). Your docs state that "any registry that supports standard Docker authentication works with Railway", but I'm hitting a blocker.
What's happening
When I enter my image path in Service → Source, I immediately get "Invalid" — before I have any opportunity to add registry credentials. The credentials field doesn't appear to be accessible until the source is validated, which creates a chicken-and-egg situation for private registries.
Image path:registry.quarzo-life.com/quarzo-life/modular-monolith:staging
What I've verified
The registry works correctly from my local machine and from external networks:
curl -i https://registry.quarzo-life.com/v2/returns401 UnauthorizedwithWww-Authenticate: Basic realm="zot"(correct OCI behavior)curl -u railway:*** https://registry.quarzo-life.com/v2/_catalogreturns the repository listcurl -u railway:*** https://registry.quarzo-life.com/v2/quarzo-life/modular-monolith/tags/listlists thestagingtagcurl -u railway:*** https://registry.quarzo-life.com/v2/quarzo-life/modular-monolith/manifests/stagingreturns200 OKwith a valid OCI manifestdocker loginanddocker pullboth work from external machines (not just my server)- Valid TLS certificate (no self-signed issue)
My questions
- Is there a way to enter registry credentials before the source is validated, or via the CLI / GraphQL API?
- Does Railway's source validator support arbitrary registry domains, or is there an implicit allowlist beyond Docker Hub / GHCR / GitLab / Quay / ECR / GAR?
- Is there any known incompatibility with Zot or OCI-only registries?
- Would a multi-arch index containing a
vnd.docker.reference.type: attestation-manifestentry (from buildx provenance) cause the validator to reject the image?
Happy to share project ID, full curl traces, or grant you access to test if helpful.
Thanks!
Pinned Solution
22 days ago
Try adding a random image, so you get the option to enter your credentials, then change the image source.
4 Replies
22 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 22 days ago
22 days ago
Hey, I'm a bit confused, can't you enter the credentials before adding the source image? There's an "Add credentials" button right below the source image input.
Attachments
22 days ago
I have a private registry on my own server through a ZOT application (https://registry.quarzo-life.com)
try with registry.quarzo-life.com/quarzo-life/modular-monolith:staging
It is an invalid address when you try to add an image
Attachments
22 days ago
Try adding a random image, so you get the option to enter your credentials, then change the image source.
22 days ago
Clever !
It works with 'hello-world' container then I enter my credential and it was ok
Status changed to Solved medim • 22 days ago
