9 months 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.
1 Replies
9 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 • 10 months ago
Status changed to Solved brody • 10 months ago
