fix: stream both stdout and stderr
This commit is contained in:
1 parent
8158f6aea0
commit
2d4c71add6
1 file changed
+1
-1
@@ -43,7 +43,7 @@ func CommandLogin(server string, username string, password string, passwordStdin
|
||||
Command: common.DockerBin(),
|
||||
Args: []string{"login", "--username", username, "--password-stdin", server},
|
||||
Stdin: &buffer,
|
||||
StreamStderr: true,
|
||||
StreamStdio: true,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("Unable to run docker login: %w", err)
|
||||
|
||||
Reference in new issue
Block a user