Skip to content

[feature request] Match non-semver labels, digests and versions to get version for tag #175

Description

@MorpheusUK

Hello,
I just started using WUD on my new synology NAS and have been working with labels to try and get links to changelogs for updates. Thanks, it nicely fits the bill for what i was looking for with the ability to email notifications and check via a web UI. This has mostly seemed pretty straight forward except for one image. Logitech Media Server (LMS) - https://hub.docker.com/r/lmscommunity/logitechmediaserver/tags.

They use three tags stable, latest and dev, stable being the recommended one.
So at present they have the following versions:
Stable: v8.2.1, Digest b4033040cf8e
Latest: v8.2.0, Digest 88fea466ebf7
Dev: v8.3.0, Digest 73ed90bea118

I am only interested in upgrades on the stable branch so currently am using the digest on stable in my compose.yml file but would like to be able to look at versions 8.2.x but not 8.3.x until that becomes the new stable and the next version becomes the new dev. With that in mind would there be a way to match the non-semver tag, semver version and digest to allow me to always have the latest stable version. I basically want to know the version number of stable to construct the link template:

version: "3.8"
services:
logitech-media-server:
image: lmscommunity/logitechmediaserver:stable
container_name: logitech-media-server
environment:
- PUID=1000
- PGID=100
- TZ=Europe/London
- HTTP_PORT=9002
- LANG=en_GB.UTF-8
- LANGUAGE=en_GB.UTF-8
volumes:
- /volume1/docker/lms:/config:rw
- /volume1/music/:/music:ro
- /volume1/music/Playlists:/playlist:rw
- /etc/localtime:/etc/localtime:ro
- /etc/TZ:/etc/TZ:ro
ports:
- 9002:9002/tcp #web port
- 9090:9090/tcp
- 3483:3483/tcp
- 3483:3483/udp
network_mode: synobridge
labels:
- 'wud.tag.include=stable'
- 'wud.watch.digest=true'
- 'wud.link.template=http://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/$${major}.$${minor}/Changelog$${major}.html'
restart: unless-stopped

Thanks,

Morpheus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions