From 21232014105060e5abebc02941da70c5e4be4f8b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 10 Jan 2026 02:29:18 -0500 Subject: [PATCH] fix: use correct value for DOCKER_CONFIG when logging in or out --- plugins/registry/subcommands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/registry/subcommands.go b/plugins/registry/subcommands.go index b4bde8b7c..d2050fb99 100644 --- a/plugins/registry/subcommands.go +++ b/plugins/registry/subcommands.go @@ -48,7 +48,7 @@ func CommandLogin(appName string, server string, username string, password strin if err := os.MkdirAll(configDir, 0700); err != nil { return fmt.Errorf("Unable to create registry config directory: %w", err) } - env["DOCKER_CONFIG"] = GetAppRegistryConfigPath(appName) + env["DOCKER_CONFIG"] = GetAppRegistryConfigDir(appName) } result, err := common.CallExecCommand(common.ExecCommandInput{ @@ -100,7 +100,7 @@ func CommandLogout(appName string, server string) error { if !common.DirectoryExists(configDir) { return fmt.Errorf("No registry credentials found for app %s", appName) } - env["DOCKER_CONFIG"] = GetAppRegistryConfigPath(appName) + env["DOCKER_CONFIG"] = GetAppRegistryConfigDir(appName) } result, err := common.CallExecCommand(common.ExecCommandInput{