From ef40324c431a6cf58ff775128da48fc48c9852fe Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Wed, 14 Sep 2022 22:45:13 +0200 Subject: Display image digest for container packages (#21170) fixes #21160 --- templates/package/content/container.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates') diff --git a/templates/package/content/container.tmpl b/templates/package/content/container.tmpl index 44a64d13ee..939dfe4020 100644 --- a/templates/package/content/container.tmpl +++ b/templates/package/content/container.tmpl @@ -14,6 +14,10 @@
docker pull {{.RegistryHost}}/{{.PackageDescriptor.Owner.LowerName}}/{{.PackageDescriptor.Package.LowerName}}{{$separator}}{{.PackageDescriptor.Version.LowerVersion}}
{{end}} +
+ +
{{range .PackageDescriptor.Files}}{{if eq .File.LowerName "manifest.json"}}{{.Properties.GetByName "container.digest"}}{{end}}{{end}}
+
-- cgit v1.2.3