mirror of https://github.com/docker/docs.git
build: provenance is minimal by default
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ed275b6a10
commit
b147e9006b
|
@ -70,7 +70,7 @@ $ docker buildx build --sbom=true --provenance=true .
|
||||||
> You can disable provenance attestations using the `--provenance=false` flag,
|
> 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.
|
> 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.
|
> by default. See [Provenance attestation](./slsa-provenance.md) for more details.
|
||||||
|
|
||||||
BuildKit generates the attestations when building the image. The attestation
|
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
|
## Mode
|
||||||
|
|
||||||
You can use the `mode` parameter to define the level of detail to be included in
|
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`
|
the provenance attestation. Supported values are `mode=min` (default) and
|
||||||
(default).
|
`mode=max`.
|
||||||
|
|
||||||
### Min
|
### Min
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue