Redploy old container has new code
magickml
PROOP

2 years ago

I was having an issue with my deployment and needed to roll back. I rolled back to a deployment from 2 weeks ago. But the deployment still had the new code in it, as I was seeing an error being logged that was not in the old code.

Maybe this is something in my docker setup that it is using the newer image and just reploying it?

I would expect triggering an old deployment to rebuild the whole image from scratch though.

Solved

1 Replies

2 years ago

If you're deploying an image and not using tags, the deployment would pull the latest version by default because we have no way of knowing which version/tag the deployment was on at that point in time.


Status changed to Awaiting User Response Railway almost 2 years ago


Railway
BOT

9 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...