Skip to content
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

Watching a specific image dosen't work #481

Open
MarcelloPercoco opened this issue Nov 11, 2024 · 2 comments
Open

Watching a specific image dosen't work #481

MarcelloPercoco opened this issue Nov 11, 2024 · 2 comments

Comments

@MarcelloPercoco
Copy link

MarcelloPercoco commented Nov 11, 2024

Hi.

I really don't know if it's a wud bug, something that i've misunderstood, ora something else.

I have a container with those relevant specifications:
collabora: image: collabora/code:24.04.9.2.1 labels: wud.watch: 'true' wud.tag.include: '^\d+\.\d+\.\d+\.\d+\.\d+$'

Update on docker hub for this image are not detected.

Fore every other container i have wud works great, only this gives me trouble

Any idea?

Thanks and best regards

@mlofjard
Copy link
Contributor

mlofjard commented Jan 9, 2025

This is because WUD is parsing this into a semver that would result in 24.04.9-2 (and the 1 would be discarded).
I'm guessing that this is an image based on Ubuntu 24.04 and that the actual version that you wish to track is 9.2.1.
In that case the following transform label should fix it for you:
wud.tag.transform: '^(\d+)\.(\d+)\.(\d+\.\d+\.\d+) => $3-$1$2'

This would format the tag as 9.2.1-2404 which is a valid semver, with the ubuntu-release concatenated and used as prerelease number.

@MarcelloPercoco
Copy link
Author

OClear thanks.

I will give it a try :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants