Proper way to handle upgrades with Docker
nicolasiscoding
PROOP

7 months ago

Hi everyone, if i have an image I deployed from a template, but want to peg it to a specific version tag, do I just edit the source and peg it to a tag? What happens when I go to upgrade versions? Do I just edit the tag?

5 Replies

nicolasiscoding
PROOP

7 months ago

d4b2fb61-eaf5-48ed-ab66-89709a9094a8


nicolasiscoding
PROOP

7 months ago

we're considering migrating from our IdP to a self-hosted one and want to use railway's best practices for this stuff. I don't want to nuke our front door and get tickets from clients saying they can't log in 🙂


brody
EMPLOYEE

7 months ago

Yep! you are exactly right, edit the image and append your tag - :

Then when you publish a new image you edit the tag again and we will deploy the new tag.

Or if you want to automate the above step, you can use this code -


nicolasiscoding
PROOP

7 months ago

Ty Brody!


brody
EMPLOYEE

7 months ago

No problem, let me know if you have anymore questions!


Loading...