mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-10-31 01:20:09 +08:00 
			
		
		
		
	add docs
This commit is contained in:
		
							parent
							
								
									03082a18b1
								
							
						
					
					
						commit
						fbf846733f
					
				| @ -100,8 +100,8 @@ The following inputs can be used as `step.with` keys: | ||||
| | `append`                     | YAML     |                    | [Append additional nodes](https://docs.docker.com/build/ci/github-actions/configure-builder/#append-additional-nodes-to-the-builder) to the builder                          | | ||||
| | `cache-binary`               | Bool     | `true`             | Cache buildx binary to GitHub Actions cache backend                                                                                                                          | | ||||
| | `cleanup`                    | Bool     | `true`             | Cleanup temp files and remove builder at the end of a job                                                                                                                    | | ||||
| | `keep-state`                 | Bool     | `false`            | Keep volume state on cleanup                                                                                                                                                 | | ||||
| | `name`                       | String   | `false`            | Builder name use use when creating the builder. If not specified, one will be generated.                                                                                     | | ||||
| | `keep-state`                 | Bool     | `false`            | Retain the Docker volume. Note that this functionality is exclusive to self-hosted runners. To reuse a volume, you must assign a specific name to the builder.               | | ||||
| | `name`                       | String   | `false`            | Providing a name allows for volume reuse on self-hosted runners. If a builder name is not specified, one will be automatically generated.                                    | | ||||
| 
 | ||||
| _\* `buildkitd-config` and `buildkitd-config-inline` are mutually exclusive_ | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # https://help.github.com/en/articles/metadata-syntax-for-github-actions | ||||
| name: 'Docker Setup Buildx with state' | ||||
| description: 'Set up Docker Buildx' | ||||
| author: 'tobiaszuercher' | ||||
| author: 'docker' | ||||
| branding: | ||||
|   icon: 'anchor' | ||||
|   color: 'blue' | ||||
| @ -54,11 +54,11 @@ inputs: | ||||
|     required: false | ||||
|   # TODO: remove deprecated config and config-inline inputs | ||||
|   keep-state: | ||||
|     description: 'Keep state on cleanup. This only works on self-hosted runners. In order to reuse a buildkit volume, you need to specify a name for the builder.' | ||||
|     description: 'Retain the Docker volume. Note that this functionality is exclusive to self-hosted runners. To reuse a volume, you must assign a specific name to the builder.' | ||||
|     default: 'false' | ||||
|     required: false | ||||
|   name: | ||||
|     description: 'Builder name to use when creating the builder. If not specified, one will be generated. Specifying a name enables reusing a buildkit volume in persistent self-hosted runners.' | ||||
|     description: 'Providing a name allows for volume reuse on self-hosted runners. If a builder name is not specified, one will be automatically generated.' | ||||
|     required: false | ||||
|   config: | ||||
|     description: 'BuildKit daemon config file' | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tobias Zürcher
						Tobias Zürcher