-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WUD doesn't understand major-version-only tags? #514
Comments
Hi, By default, hash comparison is not enabled because it involves more requests to the Docker Registry (counted from the Docker Hub quota btw). About your image, I assume that the image provider is pushing images tagged as:
If you want to track any update, I'd suggest you to run the image with the patch precision: services:
myservice:
image: myservice:1.2.3-alpine
labels:
- 'wud.tag.include=^\d+\.\d+\.\d+-alpine$$' If you prefer using tags with lower precision, you can though enable services:
myservice:
image: myservice:1-alpine
labels:
- 'wud.tag.include=^\d+\.\d+\.\d+-alpine$$'
- wud.watch.digest=true |
Right, thanks. Without the watch digest label, how does it actually determine if a newer version exists just from the tag? I've searched through the documentation multiple times looking for any mention of this, but can't find anything. Is there some logic that looks for numbers in the tag, and somehow constructs a version from that? Like if I were to just use ":latest", ":release" or ":alpine", I assume it would completely fail, but knowing how it fails would help a lot in setting up this service. And about digest watching... how many docker registry pulls does it use? One for each tag? If so, how many tags does it check? I see I can just go to the website and check the manifest digest (it appears to match my containers), and it doesn't seem to count towards my quota. |
By default, If it succeeds, then If it fails, you can though still helps services:
searx:
image: searx/searx:1.0.0-269-7b368146
labels:
- wud.tag.include=^\d+\.\d+\.\d+-\d+-.*$$
- wud.tag.transform=^(\d+\.\d+\.\d+-\d+)-.*$$ => $$1 This example will convert
That's variable. If I can give you any advice; don't use mutable tags at all 😃 |
I have a container that pulls images with tag "17-alpine". WUD first suggests "17.2-bookworm", so I added label "wud.tag.include=alpine". Then it suggests "17.2-alpine", which is the exact same version as the one I already have installed, with the same sha256.
Shouldn't it be obvious that "17-alpine" includes all 17.x versions? 17 doesn't mean 17.0. It also shouldn't suggest an update to a version with identical hash.
The text was updated successfully, but these errors were encountered: