fix: print out Login Succeeded messages

This commit is contained in:
Jose Diaz-Gonzalez
2026-01-10 03:07:31 -05:00
parent 9bb766cf17
commit 68babd168a

View File

@@ -64,6 +64,12 @@ func CommandLogin(appName string, server string, username string, password strin
return fmt.Errorf("Unable to run docker login: %s", result.StderrContents())
}
if appName != "" {
common.LogWarn(fmt.Sprintf("Login Succeeded for %s", appName))
} else {
common.LogWarn("Login Succeeded for global registry")
}
// todo: change the signature of the trigger to include the app name
_, err = common.CallPlugnTrigger(common.PlugnTriggerInput{
Trigger: "post-registry-login",