Add build output option (#11)
Fixes #6 Also updates dependencies Co-authored-by: Lauris BH <lauris@nix.lv> Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/11 Reviewed-by: anbraten <anbraten@noreply.codeberg.org> Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org> Co-committed-by: Lauris BH <lafriks@noreply.codeberg.org>
This commit is contained in:
@@ -238,5 +238,11 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag {
|
||||
Usage: "sets target platform for build",
|
||||
Destination: &settings.Build.Platforms,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "output",
|
||||
EnvVars: []string{"PLUGIN_OUTPUT"},
|
||||
Usage: "sets build output type and destination configuration",
|
||||
Destination: &settings.Build.Output,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user