Allow multible Repos (#22)

close partialy #18

we still need to handle multible registry login

Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/22
This commit is contained in:
6543
2022-09-28 15:17:39 +02:00
parent 06d32b13a5
commit 10426e6a19
4 changed files with 7 additions and 5 deletions

View File

@@ -189,7 +189,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag {
Usage: "enables compression og the build context using gzip",
Destination: &settings.Build.Compress,
},
&cli.StringFlag{
&cli.StringSliceFlag{
Name: "repo",
EnvVars: []string{"PLUGIN_REPO"},
Usage: "sets repository name for the image",