mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-12-25 07:59:07 +08:00
This helps prevent race conditions with concurrent build invocations. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
12 lines
262 B
Go
12 lines
262 B
Go
package commands
|
|
|
|
import "github.com/spf13/pflag"
|
|
|
|
type builderOptions struct {
|
|
builder string
|
|
}
|
|
|
|
func builderFlags(options *builderOptions, flags *pflag.FlagSet) {
|
|
flags.StringVar(&options.builder, "builder", "", "Override the configured builder instance")
|
|
}
|