Merge pull request #22671 from crazy-max/build-fix-provenance

build: provenance is minimal by default
This commit is contained in:
CrazyMax
2025-05-20 18:40:41 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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