fix: do not stream output from login/logout commands

This commit is contained in:
Jose Diaz-Gonzalez
2026-01-10 02:30:27 -05:00
parent 2123201410
commit b9ede65d6e

View File

@@ -56,7 +56,6 @@ func CommandLogin(appName string, server string, username string, password strin
Args: []string{"login", "--username", username, "--password-stdin", server}, Args: []string{"login", "--username", username, "--password-stdin", server},
Env: env, Env: env,
Stdin: &buffer, Stdin: &buffer,
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)
@@ -107,7 +106,6 @@ func CommandLogout(appName string, server string) error {
Command: common.DockerBin(), Command: common.DockerBin(),
Args: []string{"logout", server}, Args: []string{"logout", server},
Env: env, Env: env,
StreamStdio: true,
}) })
if err != nil { if err != nil {
return fmt.Errorf("Unable to run docker logout: %w", err) return fmt.Errorf("Unable to run docker logout: %w", err)