Using dynamically specified docker image tags
rivertam
PROOP
a month ago
I'd like to deploy PR environments, but we're not using Railpack, so we just build our docker images separately and push to GHCR.
I'd like to make it so the service images can be specified as something like ghcr.io/org/repo:${{RAILWAY_ENVIRONMENT_NAME}} but that doesn't seem to be supported (even trying to save it just silently fails).
Is anything like this supported?
1 Replies
a month ago
IIRC no, that’s not directly supported. You can, however, implement a workflow into your CI/CD pipeline where it calls the Railway public API and creates environments and deploys images with specific tags into it.