Open RichyHBM opened 1 month ago
Hello,
I'm not sure to exactly understand your situation; can you provide a small example of your configuration, please?
If I take the example of nginx, they provide the same image as 1
, 1.27
and 1.27.0
.
I basically would say:
1.27.0
tag and set wud the include regex \d\.\d\.\d
1.27
tag and set wud the include regex \d\.\d
1
tag and set wud the include regex \d
But maybe I have misunderstood your issue...
@fmartinou I think I get what @RichyHBM meant, as apparently I'm in a similar situation (use major and watch for minor updates). Let me explain:
compose.yml
I specify the image as postgres:16
.16.3
is available (which means 16
has also been updated on Docker Hub and I can just run docker compose pull
to get it without having to change compose.yml
), so I set wud.tag.include=^16\.\d+$$
.postgres:16
image is up-to-date and actually has the same digest as postgres:16.3
's, WUD still shows that a minor update is available.wud.watch.digest=true
and recreate the container.If WUD would compare digests with wud.watch.digest=true
even when tags are different (16
vs. 16.3
in this example) to decide whether there's an update, it would be perfect.
I'm aware that I can set wud.tag.include=^16$$
and wud.watch.digest=true
to get "correct" notifications, but that way WUD won't be able to show what minor version the update is—is it 16.3
or 16.4
?
I think this is kinda finicky and it's totally fine if you decide to keep the current behavior. Just wanted to chime in and try to make it clear. Thanks for this useful piece of software!
Hello, I am looking to answer a question regarding docker image versions.
I want to use minor versions for my docker images where available, i.e. 1.23, but have WUD notify me when a new patch version is available. This works ok using patch compatible regex, however if I update that container to the latest patch, WUD still lists it as an available update, even though they are at the latest.
Is there any setting that can achieve the desired outcome? Would I need to watch digests as I currently disable this where possible to minimize on dockerhub API calls