mirror of https://github.com/docker/docs.git
Merge pull request #18969 from dvdksn/attest-link-gha-examples
build: link to GHA attestations examples
This commit is contained in:
commit
d98a8afc17
|
@ -37,6 +37,9 @@ $ docker buildx build --tag <namespace>/<image>:<version> \
|
|||
|
||||
Alternatively, you can use the shorthand `--sbom=true` option instead of `--attest type=sbom`.
|
||||
|
||||
For an example on how to add SBOM attestations with GitHub Actions, see
|
||||
[Add attestations with GitHub Actions](../ci/github-actions/attestations.md).
|
||||
|
||||
## Verify SBOM attestations
|
||||
|
||||
Always validate the generated SBOM for your image before you push your image to a registry.
|
||||
|
|
|
@ -33,6 +33,9 @@ $ docker buildx build --tag <namespace>/<image>:<version> \
|
|||
Alternatively, you can use the shorthand `--provenance=true` option instead of `--attest type=provenance`.
|
||||
To specify the `mode` parameter using the shorthand option, use: `--provenance=mode=max`.
|
||||
|
||||
For an example on how to add provenance attestations with GitHub Actions, see
|
||||
[Add attestations with GitHub Actions](../ci/github-actions/attestations.md).
|
||||
|
||||
## Mode
|
||||
|
||||
You can use the `mode` parameter to define the level of detail to be included in
|
||||
|
|
Loading…
Reference in New Issue