mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	docs: link to exporter descriptions from reference docs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
		@@ -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/).
 | 
			
		||||
 | 
			
		||||
### <a name="platform"></a> Set the target platforms for the build (--platform)
 | 
			
		||||
 | 
			
		||||
```text
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user