Docker Auto Updates are not working for me
notnotjake
PROOP

23 days ago

In a service running ghost docker image, I have turned on Auto Updates set to update to the latest tag at night but this has never occurred after 2 months.

Right below that in the service settings, it even says "Update Available" so I don't quite understand what I'm missing about this feature or why it is not working for me as expected?

Solved

3 Replies

Railway
BOT

23 days ago

The "Update Available" notification appears for services using a semantic version tag (like ghost:5.82.0) when a newer version is detected. If the available update is a minor or major version bump but your update preference is set to "patches only," it will show as available but won't be applied automatically. You can check your configured image tag and update preference under your service's Settings in the Source section. For reference, if a service is on the :latest tag (non-semantic), Railway skips the preference check and simply redeploys when a new image SHA is pushed to that tag. More details are in our Image Auto Updates docs.


Status changed to Awaiting User Response Railway 23 days ago


Railway

The "Update Available" notification appears for services using a semantic version tag (like `ghost:5.82.0`) when a newer version is detected. If the available update is a minor or major version bump but your update preference is set to "patches only," it will show as available but won't be applied automatically. You can check your configured image tag and update preference under your service's Settings in the Source section. For reference, if a service is on the `:latest` tag (non-semantic), Railway skips the preference check and simply redeploys when a new image SHA is pushed to that tag. More details are in our [Image Auto Updates docs](https://docs.railway.com/deployments/image-auto-updates).

notnotjake
PROOP

22 days ago

That makes sense. So is the issue that :alpine tag is not treated the same way that :latest is? The docs seem to say that any non-semver tag will work the same way. The fact that the dashboard highlights that an update is available and that the dashboard allows me to enable auto-updates would suggest to me that it should work... but it is not.


Status changed to Awaiting Railway Response Railway 22 days ago


That's correct. Any non-semver tag including :alpine is treated the same as :latest and checked by comparing the image digest, so auto-updates should fire when the digest behind :alpine changes. Since it has not over two months on a public image, this is behaving incorrectly on our side rather than a setting you've missed, and we're looking into why the digest change isn't being picked up here. In the meantime, triggering a redeploy from CI through our API after the image is rebuilt will pick up the new digest reliably.


Status changed to Awaiting User Response Railway 21 days ago


Railway
BOT

14 days 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 14 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...