Skip to content

Commit

Permalink
add FromEnv option
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemat97 committed Jul 5, 2024
1 parent 11cc022 commit 02b5c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func printBuild(builds []apps.Build, get *Cmd, out io.Writer, header bool) error
}

func pullImage(ctx context.Context, apiClient *api.Client, build *apps.Build) error {
cli, err := client.NewClientWithOpts(client.WithVersion(dockerAPIVersion))
cli, err := client.NewClientWithOpts(client.WithVersion(dockerAPIVersion), client.FromEnv)
if err != nil {
return err
}
Expand Down

0 comments on commit 02b5c41

Please sign in to comment.