Replies: 2 comments
|
I am in the same boat and tried to set |
|
Updates on my own post: WATCHTOWER_NOTIFICATION_TEMPLATE: |
{{- if .Report -}}
{{- with .Report -}}
{{- if (or .Updated .Restarted .Failed) -}}
{{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Restarted}} Restarted, {{len .Failed}} Failed
{{- range .Updated}}
- {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}
{{- end -}}
{{- range .Restarted}}
- {{.Name}} ({{.ImageName}}): {{.State}}
{{- end -}}
{{- range .Failed}}
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
|
Uh oh!
There was an error while loading. Please reload this page.
I recently discovered the WATCHTOWER_NOTIFICATION_REPORT option.

I really like the little summary provided after each scan, but since Watchtower runs every hour, I get a lot of notifications just to report the scans.
It would be nice to be able to filter them and only receive a message when there is something other than a scan without any major action. I don't think I saw an option for this when I looked through the documentation. Let me know if I missed something.
All reactions