Merge pull request #19686 from sozercan/patch-1

docs: tip for index sbom
This commit is contained in:
CrazyMax
2024-04-04 14:16:25 +02:00
committed by GitHub

View File

@@ -188,6 +188,11 @@ $ docker buildx imagetools inspect <namespace>/<image>:<version> \
}
```
> **Tip**
>
> If the image is multi-platform, you can check the SBOM for a platform-specific index using `--format '{{ json (index .SBOM "linux/amd64").SPDX }}'`.
{ .tip }
You can also construct more complex expressions using the full functionality
of Go templates. For example, you can list all the installed packages and their
version identifiers: