You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/buildx_build.md
+27-4Lines changed: 27 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,9 @@ BuildKit currently supports:
88
88
Use `--attest=type=provenance` to generate provenance for an image at
89
89
build-time. Alternatively, you can use the [`--provenance` shorthand](#provenance).
90
90
91
+
By default, a minimal provenance attestation will be created for the build
92
+
result, which will only be attached for images pushed to registries.
93
+
91
94
For more information, see [here](https://docs.docker.com/build/attestations/slsa-provenance/).
92
95
93
96
### <aname="allow"></a> Allow extra privileged entitlement (--allow)
Shorthand for [`--attest=type=provenance`](#attest). Enables provenance
481
-
attestations for the build result.
483
+
Shorthand for [`--attest=type=provenance`](#attest), used to configure
484
+
provenance attestations for the build result. For example,
485
+
`--provenance=mode=max` can be used as an abbreviation for
486
+
`--attest=type=provenance,mode=max`.
487
+
488
+
Additionally, `--provenance` can be used with boolean values to broadly enable
489
+
or disable provenance attestations. For example, `--provenance=false` can be
490
+
used to disable all provenance attestations, while `--provenance=true` can be
491
+
used to enable all provenance attestations.
492
+
493
+
By default, a minimal provenance attestation will be created for the build
494
+
result, which will only be attached for images pushed to registries.
495
+
496
+
For more information, see [here](https://docs.docker.com/build/attestations/slsa-provenance/).
482
497
483
498
### <aname="push"></a> Push the build result to a registry (--push)
0 commit comments