mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #22671 from crazy-max/build-fix-provenance
build: provenance is minimal by default
This commit is contained in:
@@ -70,7 +70,7 @@ $ docker buildx build --sbom=true --provenance=true .
|
||||
> You can disable provenance attestations using the `--provenance=false` flag,
|
||||
> or by setting the [`BUILDX_NO_DEFAULT_ATTESTATIONS`](/manuals/build/building/variables.md#buildx_no_default_attestations) environment variable.
|
||||
>
|
||||
> Using the `--provenance=true` flag attaches provenance attestations with `mode=max`
|
||||
> Using the `--provenance=true` flag attaches provenance attestations with `mode=min`
|
||||
> by default. See [Provenance attestation](./slsa-provenance.md) for more details.
|
||||
|
||||
BuildKit generates the attestations when building the image. The attestation
|
||||
|
||||
@@ -41,8 +41,8 @@ For an example on how to add provenance attestations with GitHub Actions, see
|
||||
## Mode
|
||||
|
||||
You can use the `mode` parameter to define the level of detail to be included in
|
||||
the provenance attestation. Supported values are `mode=min`, and `mode=max`
|
||||
(default).
|
||||
the provenance attestation. Supported values are `mode=min` (default) and
|
||||
`mode=max`.
|
||||
|
||||
### Min
|
||||
|
||||
|
||||
Reference in New Issue
Block a user