diff --git a/cmd/docker-buildx/config.go b/cmd/docker-buildx/config.go index 562293c..b6e7ff3 100644 --- a/cmd/docker-buildx/config.go +++ b/cmd/docker-buildx/config.go @@ -123,7 +123,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag { }, &cli.BoolFlag{ 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", Destination: &settings.Build.TagsAuto, }, diff --git a/docs.md b/docs.md index 7bc68f9..5644519 100644 --- a/docs.md +++ b/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 | `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 -| `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_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 `=`