You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to ask if it is possible to add the currently running version of an Image into the notification template.
For example lets assume my docker-compose looks like this:
watch:
workers: 10
schedule: "*/1 * * * *"
jitter: 10s
firstCheckNotif: true
providers:
docker:
watchByDefault: true
defaults:
watchRepo: true
maxTags: 2
sortTags: semver
includeTags:
- ^\d+\.\d+\.\d+$
notif:
mail:
host: some_host
port: port
ssl: true
username: user
password: pass
insecureSkipVerify: true
from: [email protected]
to:
- [email protected]
templateTitle: "{{ .Entry.Image }} released"
templateBody: |
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.
Current Tag: ???
{{ range $key, $value := .Entry.Metadata }}
* `{{ $key }}`: `{{ $value }}`
{{- end }}
In my notification I want to get the Current Tag which should show the currently running version of the corresponding image. In the example from above, this should be hello:1.3.9
I want to include this to see how large the diff between the "running version" and the "updated version" is.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to ask if it is possible to add the currently running version of an Image into the notification template.
For example lets assume my docker-compose looks like this:
and my diun config looks like this:
In my notification I want to get the
Current Tag
which should show the currently running version of the corresponding image. In the example from above, this should behello:1.3.9
I want to include this to see how large the diff between the "running version" and the "updated version" is.
Beta Was this translation helpful? Give feedback.
All reactions