Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions content/manuals/build/building/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ They're used to configure the Buildx client, or the BuildKit daemon.
| [BUILDX_METADATA_PROVENANCE](#buildx_metadata_provenance) | String \| Boolean | Customize provenance information included in the metadata file. |
| [BUILDX_METADATA_WARNINGS](#buildx_metadata_warnings) | String | Include build warnings in the metadata file. |
| [BUILDX_NO_DEFAULT_ATTESTATIONS](#buildx_no_default_attestations) | Boolean | Turn off default provenance attestations. |
| [BUILDX_NO_DEFAULT_OCI_ARTIFACT](#buildx_no_default_oci_artifact) | Boolean | Turn off OCI artifact storage for attestations by default. |
| [BUILDX_NO_DEFAULT_LOAD](#buildx_no_default_load) | Boolean | Turn off loading images to image store by default. |
| [EXPERIMENTAL_BUILDKIT_SOURCE_POLICY](#experimental_buildkit_source_policy) | String | Specify a BuildKit source policy file. |

Expand Down Expand Up @@ -686,6 +687,22 @@ Usage:
$ export BUILDX_NO_DEFAULT_ATTESTATIONS=1
```

### BUILDX_NO_DEFAULT_OCI_ARTIFACT

{{< summary-bar feature_name="Buildx no default OCI artifact" >}}

Starting with BuildKit v0.32.0, BuildKit stores attestations as OCI artifacts
Comment thread
crazy-max marked this conversation as resolved.
when OCI media types are enabled. Set `BUILDX_NO_DEFAULT_OCI_ARTIFACT=1` to
make Buildx set `oci-artifact=false` when the build uses an exporter that
supports attestations and you haven't explicitly set the `oci-artifact`
exporter attribute.

Usage:

```console
$ export BUILDX_NO_DEFAULT_OCI_ARTIFACT=1
```

### BUILDX_NO_DEFAULT_LOAD

When you build an image using the `docker` driver, the image is automatically
Expand Down
2 changes: 2 additions & 0 deletions data/summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Buildx metadata warnings:
requires: Docker Buildx [0.16.0](https://github.com/docker/buildx/releases/tag/v0.16.0) and later
Buildx no default:
requires: Docker Buildx [0.10.4](https://github.com/docker/buildx/releases/tag/v0.10.4) and later
Buildx no default OCI artifact:
requires: Docker Buildx [0.36.1](https://github.com/docker/buildx/releases/tag/v0.36.1) and later
Cache backend API:
availability: Experimental
Company:
Expand Down