From df617139deac9862e26e21ca5833cf4cee809bf6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 27 Jan 2022 22:02:58 +0100 Subject: [PATCH] docs: adjust helptext for the output option (#72) --- _docs/_index.md | 4 ++-- cmd/drone-docker-buildx/config.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_docs/_index.md b/_docs/_index.md index 42b6ce6..08c6824 100644 --- a/_docs/_index.md +++ b/_docs/_index.md @@ -140,10 +140,10 @@ pull_image : enforces to pull base image at build time (default `true`) compress -: enables compression og the build context using gzip +: enables compression of the build context using gzip output -: sets output folder for build artifacts (format: `path` or `type=TYPE[,KEY=VALUE]`) +: sets the [export action](https://docs.docker.com/engine/reference/commandline/buildx_build/#output) for the build result (format: `path` or `type=TYPE[,KEY=VALUE]`) repo : sets repository name for the image diff --git a/cmd/drone-docker-buildx/config.go b/cmd/drone-docker-buildx/config.go index ce407cd..d98c0df 100644 --- a/cmd/drone-docker-buildx/config.go +++ b/cmd/drone-docker-buildx/config.go @@ -153,7 +153,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag { &cli.StringFlag{ Name: "output", EnvVars: []string{"PLUGIN_OUTPUT"}, - Usage: "sets build output folder", + Usage: "sets the export action for the build result", Destination: &settings.Build.Output, }, &cli.StringFlag{ @@ -178,7 +178,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag { &cli.BoolFlag{ Name: "compress", EnvVars: []string{"PLUGIN_COMPRESS"}, - Usage: "enables compression og the build context using gzip", + Usage: "enables compression of the build context using gzip", Destination: &settings.Build.Compress, }, &cli.StringFlag{