Watchtower: Template adjustment
This commit is contained in:
parent
c5b48f84f5
commit
2a084b37ea
@ -15,16 +15,13 @@ services:
|
||||
{% raw %}
|
||||
{{- if .Report -}}
|
||||
{{- with .Report -}}
|
||||
{{- if ( or .Updated .Failed ) -}}
|
||||
{{- if ( or .Updated .Failed .Skipped ) -}}
|
||||
{% endraw %}
|
||||
Updates on {{ inventory_hostname }}{% raw %}
|
||||
{{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
|
||||
{{- range .Updated}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}
|
||||
{{- end -}}
|
||||
{{- range .Fresh}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.State}}
|
||||
{{- end -}}
|
||||
{{- range .Skipped}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user