index sbom

This commit is contained in:
Sertaç Özercan 2024-03-25 14:57:28 -07:00 committed by GitHub
parent 9580d8e6f1
commit 86a41bc74d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

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