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