Remove "default_tags" as it's too similar to "default_tag" (#38)
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/38 Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org> Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
		
							parent
							
								
									fce3289743
								
							
						
					
					
						commit
						57b0ae23c2
					
				| @ -123,7 +123,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag { | |||||||
| 		}, | 		}, | ||||||
| 		&cli.BoolFlag{ | 		&cli.BoolFlag{ | ||||||
| 			Name:        "tags.auto", | 			Name:        "tags.auto", | ||||||
| 			EnvVars:     []string{"PLUGIN_DEFAULT_TAGS", "PLUGIN_AUTO_TAG"}, | 			EnvVars:     []string{"PLUGIN_AUTO_TAG"}, | ||||||
| 			Usage:       "generates tag names automatically based on git branch and git tag", | 			Usage:       "generates tag names automatically based on git branch and git tag", | ||||||
| 			Destination: &settings.Build.TagsAuto, | 			Destination: &settings.Build.TagsAuto, | ||||||
| 		}, | 		}, | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								docs.md
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								docs.md
									
									
									
									
									
								
							| @ -97,7 +97,7 @@ It will automatically generate buildkit configuration to use custom CA certifica | |||||||
| | `daemon_off`              | `false`           | disables the startup of the docker daemon | | `daemon_off`              | `false`           | disables the startup of the docker daemon | ||||||
| | `buildkit_config`         | *none*            | sets content of the docker [buildkit TOML config](https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md) | | `buildkit_config`         | *none*            | sets content of the docker [buildkit TOML config](https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md) | ||||||
| | `context`                 | `.`               | sets the path of the build context to use | | `context`                 | `.`               | sets the path of the build context to use | ||||||
| | `default_tags`/`auto_tag` | `false`           | generates tag names automatically based on git branch and git tag, tags supplied via `tags` are additionally added to the auto_tags without suffix | | `auto_tag`                | `false`           | generates tag names automatically based on git branch and git tag, tags supplied via `tags` are additionally added to the auto_tags without suffix | ||||||
| | `default_suffix"`/`auto_tag_suffix`| *none*   | generates tag names with the given suffix | | `default_suffix"`/`auto_tag_suffix`| *none*   | generates tag names with the given suffix | ||||||
| | `default_tag`             | `latest`          | overrides the default tag name used when generating with `auto_tag` enabled | | `default_tag`             | `latest`          | overrides the default tag name used when generating with `auto_tag` enabled | ||||||
| | `label`/`labels`          | *none*            | sets labels to use for the image in format `<name>=<value>` | | `label`/`labels`          | *none*            | sets labels to use for the image in format `<name>=<value>` | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 6543
						6543