watchtower
> adding watchtower to repo
This commit is contained in:
25
watchtower/watchtower-template.txt
Normal file
25
watchtower/watchtower-template.txt
Normal file
@ -0,0 +1,25 @@
|
||||
{{- if .Report -}}
|
||||
{{- with .Report -}}
|
||||
{{- $len := .Scanned | len -}}
|
||||
{{- if gt $len 0 -}}
|
||||
{Watchtower - NAS{"\n"}{"\n"}}
|
||||
{{- $len}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed{{"\n"}}
|
||||
{{- range .Updated -}}
|
||||
- 🟥 {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}{{"\n"}}
|
||||
{{- end -}}
|
||||
{{- range .Fresh -}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.State}}{{"\n"}}
|
||||
{{- end -}}
|
||||
{{- range .Skipped -}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}{{"\n"}}
|
||||
{{- end -}}
|
||||
{{- range .Failed -}}
|
||||
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}{{"\n"}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
No updates found.{{"\n"}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user