mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-10-31 16:13:45 +08:00 
			
		
		
		
	bake(cli): allow passing in-stream using command.Cli
ReadLocalFiles should allow passing the stdin file as an argument, which allows us to read from dockerCli.Stdin() to be consistent with other commands in the same package. Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
		| @@ -19,7 +19,7 @@ func Disable(cmd *cobra.Command, args []string, toComplete string) ([]string, co | ||||
|  | ||||
| func BakeTargets(files []string) ValidArgsFn { | ||||
| 	return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { | ||||
| 		f, err := bake.ReadLocalFiles(files) | ||||
| 		f, err := bake.ReadLocalFiles(files, nil) | ||||
| 		if err != nil { | ||||
| 			return nil, cobra.ShellCompDirectiveError | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Justin Chadwell
					Justin Chadwell