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
Percy
Percy2mo ago
Project ID: N/A
ThallesComH
ThallesComH2mo ago
N/A
Brody
Brody2mo ago
you would have to add onto that action to integrate the railway CLI with railway redeploy
ThallesComH
ThallesComH2mo ago
and then it would just pull the latest image and deploy it?
Brody
Brody2mo ago
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
Want results from more Discord servers?
Add your server