Skip to content

Commit

Permalink
Merge pull request #2531 from dvdksn/docs-xref-exportermanuals
Browse files Browse the repository at this point in the history
docs: link to exporter descriptions from reference docs
  • Loading branch information
tonistiigi authored Jun 20, 2024
2 parents 310aaf1 + fb6a317 commit 6111d9a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/reference/buildx_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ Attribute key:

- `dest` - destination directory where files will be written

For more information, see
[Local and tar exporters](https://docs.docker.com/build/exporters/local-tar/).

#### `tar`

The `tar` export type writes all result files as a single tarball on the client.
Expand All @@ -460,6 +463,9 @@ Attribute key:

- `dest` - destination path where tarball will be written. “-” writes to stdout.

For more information, see
[Local and tar exporters](https://docs.docker.com/build/exporters/local-tar/).

#### `oci`

The `oci` export type writes the result image or manifest list as an [OCI image
Expand All @@ -470,6 +476,9 @@ Attribute key:

- `dest` - destination path where tarball will be written. “-” writes to stdout.

For more information, see
[OCI and Docker exporters](https://docs.docker.com/build/exporters/oci-docker/).

#### `docker`

The `docker` export type writes the single-platform result image as a [Docker image
Expand All @@ -486,6 +495,9 @@ Attribute keys:
the tar will be loaded automatically to the local image store.
- `context` - name for the Docker context where to import the result

For more information, see
[OCI and Docker exporters](https://docs.docker.com/build/exporters/oci-docker/).

#### `image`

The `image` exporter writes the build result as an image or a manifest list. When
Expand All @@ -497,10 +509,16 @@ Attribute keys:
- `name` - name (references) for the new image.
- `push` - Boolean to automatically push the image.

For more information, see
[Image and registry exporters](https://docs.docker.com/build/exporters/image-registry/).

#### `registry`

The `registry` exporter is a shortcut for `type=image,push=true`.

For more information, see
[Image and registry exporters](https://docs.docker.com/build/exporters/image-registry/).

### <a name="platform"></a> Set the target platforms for the build (--platform)

```text
Expand Down

0 comments on commit 6111d9a

Please sign in to comment.