fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
1.02k stars 33 forks source link

Variables available for triggers #256

Closed mattdale77 closed 1 year ago

mattdale77 commented 1 year ago

Is there somewhere I can view all the set variables for triggers?

In particular I'd be interested in the actual version numbers. The defaults ($local and $remote) shows a long hash which is pretty meaningless

fmartinou commented 1 year ago

It may depend on the exact trigger you use but the variables used to render the title/body templates are listed here https://fmartinou.github.io/whats-up-docker/#/configuration/triggers/

In particular I'd be interested in the actual version numbers

The version numbers are present on the semver variable if available.

dougmaitelli commented 1 year ago

This is definitely not working: Available update recognizes semver properly image

Trigger uses semver for notification: image

Actual value delivered: image

fmartinou commented 1 year ago

See discussion on https://github.com/fmartinou/whats-up-docker/issues/309