mirror of
https://github.com/ko-build/ko.git
synced 2025-07-12 23:50:31 +02:00
Propagate --insecure-registry to base image (#370)
This commit is contained in:
@ -56,6 +56,7 @@ func addResolve(topLevel *cobra.Command) {
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
ctx := createCancellableContext()
|
||||
bo.InsecureRegistry = po.InsecureRegistry
|
||||
builder, err := makeBuilder(ctx, bo)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating builder: %v", err)
|
||||
|
Reference in New Issue
Block a user