9 months ago
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
0 Replies
9 months ago
N/A
9 months ago
you would have to add onto that action to integrate the railway CLI with railway redeploy
9 months ago
and then it would just pull the latest image and deploy it?
9 months ago
I'd have to double check what mutation that command uses, otherwise, yes!
9 months ago
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