Open wilmardo opened 5 years ago
Hello, none of these images seem to be using semver. If you are not using semver images, please use webhooks :) Otherwise it's just looking for the same linuxserver/nzbget:v21.0-ls24
tag with a new digest.
Thanks for the fast response! Was looking for the exact semver spec needed in the docs but it needs the whole tag as semver? These tags are semver before the dash ;)
Tried a bit further and now have annotated with:
annotations:
keel.sh/policy: "glob:3.*"
keel.sh/force: "true"
keel.sh/trigger: poll
keel.sh/pollSchedule: "@every 1m"
keel.sh/approvals: "1"
If I read the docs correctly this should match the tag 3.0.3.624-ls135
but it still does not show pending approvals. What am I missing?
Registry polling only works with semver tags when it's clear that 3.1.0 > 3.0.0. When using glob, regex, force policies - you should use webhooks :) Which registry are you using?
Docker Hub but the those are community images, not made by me. For example: https://hub.docker.com/r/linuxserver/sonarr/tags
So I cannot setup webhooks to notify Keel. Is it an idea to introduce a semver regexp? To extract semver from a tag? For example plex does the same with some build-sha: https://hub.docker.com/r/plexinc/pms-docker/tags
Ahh, good point, let's think about how to add it
Cool! Can I contribute in some way?
@rusenask Sorry to bother but I just remembered that this is the reason why I am editing all the configs by had :')
Is there any way how I could contribute to this issue?
hey, no worries! :) Could you check whether dockerhub provides dates when the tags were pushed? If yes, we might be able to check the timing
Resurrecting this a bit, since I've got a similar use case. Seems the webhook payloads from Docker Hub include a push_data.pushed_at
posix that can be used for comparison
Webhooks on dockerhub are only available for your own images, so you can't use that for community images like sonarr that was mentioned here
The title might be wrong but my suspicion is that Keel isn't polling without a notification enabled. In the logs I see that the watchers are made and I see the images as tacked in the webinterface. But there never appears a pending approval in the webinterface while there are newer images available upstream.
If my suspicion is correct, I would love a feature where I can approve changes in the webinterface.
Helm values:
Keel log: