fix: stream both stdout and stderr

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-14 00:33:20 -05:00
1 parent 8158f6aea0
commit 2d4c71add6
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ func CommandLogin(server string, username string, password string, passwordStdin
Command: common.DockerBin(), Command: common.DockerBin(),
Args: []string{"login", "--username", username, "--password-stdin", server}, Args: []string{"login", "--username", username, "--password-stdin", server},
Stdin: &buffer, Stdin: &buffer,
StreamStderr: true, StreamStdio: true,
}) })
if err != nil { if err != nil {
return fmt.Errorf("Unable to run docker login: %w", err) return fmt.Errorf("Unable to run docker login: %w", err)