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
@@ -91,6 +91,9 @@ BuildKit currently supports:
91
91
Use `--attest=type=provenance` to generate provenance for an image at
92
92
build-time. Alternatively, you can use the [`--provenance` shorthand](#provenance).
93
93
94
+
By default, a minimal provenance attestation will be created for the build
95
+
result, which will only be attached for images pushed to registries.
96
+
94
97
For more information, see [here](https://docs.docker.com/build/attestations/slsa-provenance/).
95
98
96
99
### <aname="allow"></a> Allow extra privileged entitlement (--allow)
Shorthand for [`--attest=type=provenance`](#attest). Enables provenance
484
-
attestations for the build result.
486
+
Shorthand for [`--attest=type=provenance`](#attest), used to configure
487
+
provenance attestations for the build result. For example,
488
+
`--provenance=mode=max` can be used as an abbreviation for
489
+
`--attest=type=provenance,mode=max`.
490
+
491
+
Additionally, `--provenance` can be used with boolean values to broadly enable
492
+
or disable provenance attestations. For example, `--provenance=false` can be
493
+
used to disable all provenance attestations, while `--provenance=true` can be
494
+
used to enable all provenance attestations.
495
+
496
+
By default, a minimal provenance attestation will be created for the build
497
+
result, which will only be attached for images pushed to registries.
498
+
499
+
For more information, see [here](https://docs.docker.com/build/attestations/slsa-provenance/).
485
500
486
501
### <aname="push"></a> Push the build result to a registry (--push)
0 commit comments