Deploy a docker image to Railway via CI
I'm trying to build a Docker image in my CI and deploy it to Railway, is there anyway to do that? I've seen this
https://github.com/brody192/filebrowser-template/blob/main/.github/workflows/docker-publish.yml
but it doesnt seems to trigger a new deploy on the service
GitHub
filebrowser-template/.github/workflows/docker-publish.yml at main ·...
Contribute to brody192/filebrowser-template development by creating an account on GitHub.
5 Replies
Project ID:
N/A
N/A
you would have to add onto that action to integrate the railway CLI with
railway redeploy
and then it would just pull the latest image and deploy it?
I'd have to double check what mutation that command uses, otherwise, yes!
it deploys the latest deployment via its ID, that's the same way you'd do it in the UI to pull the latest image, so as long as you use the latest tag then I can't see anyway it wouldn't work on the railway side of things.
as long as the ghcr registry has updated by the time you call
railway redeploy