Skip to content

Commit f0dda07

Browse files
authored
Merge pull request #22671 from crazy-max/build-fix-provenance
build: provenance is minimal by default
2 parents db5066e + b147e90 commit f0dda07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/manuals/build/metadata/attestations/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $ docker buildx build --sbom=true --provenance=true .
7070
> You can disable provenance attestations using the `--provenance=false` flag,
7171
> or by setting the [`BUILDX_NO_DEFAULT_ATTESTATIONS`](/manuals/build/building/variables.md#buildx_no_default_attestations) environment variable.
7272
>
73-
> Using the `--provenance=true` flag attaches provenance attestations with `mode=max`
73+
> Using the `--provenance=true` flag attaches provenance attestations with `mode=min`
7474
> by default. See [Provenance attestation](./slsa-provenance.md) for more details.
7575
7676
BuildKit generates the attestations when building the image. The attestation

content/manuals/build/metadata/attestations/slsa-provenance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ For an example on how to add provenance attestations with GitHub Actions, see
4141
## Mode
4242

4343
You can use the `mode` parameter to define the level of detail to be included in
44-
the provenance attestation. Supported values are `mode=min`, and `mode=max`
45-
(default).
44+
the provenance attestation. Supported values are `mode=min` (default) and
45+
`mode=max`.
4646

4747
### Min
4848

0 commit comments

Comments
 (0)