From b147e9006baa1ee500b5c4ceb47b9e84e0e70aaa Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 20 May 2025 17:10:33 +0200 Subject: [PATCH] build: provenance is minimal by default Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- content/manuals/build/metadata/attestations/_index.md | 2 +- .../manuals/build/metadata/attestations/slsa-provenance.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/manuals/build/metadata/attestations/_index.md b/content/manuals/build/metadata/attestations/_index.md index e18977bf46..1d10af81c3 100644 --- a/content/manuals/build/metadata/attestations/_index.md +++ b/content/manuals/build/metadata/attestations/_index.md @@ -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 diff --git a/content/manuals/build/metadata/attestations/slsa-provenance.md b/content/manuals/build/metadata/attestations/slsa-provenance.md index f3add2da14..2ed24019be 100644 --- a/content/manuals/build/metadata/attestations/slsa-provenance.md +++ b/content/manuals/build/metadata/attestations/slsa-provenance.md @@ -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