Redeploy from GitActions
thefreded
FREEOP

a year ago

I have my image on github and so far I am able to redeploy from the git actions using railway redeploy --yes. However, since I plan to do dynamic image tagging, I was hoping there is an option to tell railway to redeploy while specifying a new image that I want.

I have gone through the docs and it's not pretty clear. I also tried to link and I had issues with login which I did not if I run railway redeploy.

Thank you.

Solved

1 Replies

10 months ago

Hello,

We do not support setting the image tag from the CLI, you would need to call the API to do this.

You would want to call serviceInstanceUpdate to set the image with the new tag, then call serviceInstanceDeploy to trigger the deploy with the newly updated image.

Check out our GraphQL playground -

https://railway.com/graphiql

Best,
Brody


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved brody 11 months ago


Loading...