From fb6a3178c90390f4fe0e0ce539404a3260352121 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:51:10 +0200 Subject: [PATCH] docs: link to exporter descriptions from reference docs Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- docs/reference/buildx_build.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/reference/buildx_build.md b/docs/reference/buildx_build.md index ff597807..3196de92 100644 --- a/docs/reference/buildx_build.md +++ b/docs/reference/buildx_build.md @@ -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. @@ -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 @@ -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 @@ -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 @@ -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/). + ### Set the target platforms for the build (--platform) ```text