ellsong
PROOP
3 months ago
We build our apps and publish them to a private container registry and then deploy on railway. We have configured our services to automatically redeploy new builds when they are published to the registry, but we have noticed that this is very inconsistent and deploys often don't occur for new builds.
3 Replies
3 months ago
Deploys don't occur at all, or are they delayed? Since we cache the image version for a few hours.
@Brody it can sometimes just not deploy. Last night for example we pushed a new production image and it just didn't happen, we had to deploy it today manually.
3 months ago
It might be worth calling the CLI for an instant deploy.
railway link —workspace $WORKSPACE_ID —environment $ENVIRONMENT_ID —project $PROJECT_ID
railway env edit —service-config $SERVICE_ID "source.image" nginx:1.29.4