Repository navigation
"latest" a requirement, or should it work with a specific image tag specified? #3043
|
Do I have to use "latest" for the image tag for Watchtower to work, or should it work with a specific image tag in my docker compose/portainer stack? |
Answered by
nicholas-fedor
Oct 22, 2026
Replies: 2 comments 1 reply
|
No, you can use other tags. Check out the documentation for more information. |
0 replies
|
Am I reading that correctly that a tag like v1.30 won't notify/update if the new version is v1.31 or v1.40? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, Watchtower only checks the exact image reference.
If you have deployed a container using a
v<major>.<minor>semver tag (e.gv1.30), then that is what Watchtower uses for comparing digests to determine if a update is needed. In that case, if the image maintainer publishes a new patch version (i.e.v1.30.1updated tov1.30.2) and retagsv1.30to reflect that updated version, then Watchtower can pick that up (because the digest changes) and handle the update.tl;dr - If you want updates for patch versions, then pin to the minor semver tag. Ditto for updates within a major version.