From b63ad2c7832406d3a79ef07ea3f01786acb620ff Mon Sep 17 00:00:00 2001 From: Christopher Eaton Date: Thu, 25 May 2023 11:55:33 -0700 Subject: [PATCH] Add step ID output to secretEnv replacement log. --- localbuilder_main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localbuilder_main.go b/localbuilder_main.go index 373b14a..4866ef9 100644 --- a/localbuilder_main.go +++ b/localbuilder_main.go @@ -165,7 +165,7 @@ func run(ctx context.Context, source string) error { if index >= 0 { s.Env = append(s.Env, fmt.Sprintf("%s=%s", k, strings.ReplaceAll(v, "\n", "\\n"))) s.SecretEnv = slices.Delete(s.SecretEnv, index, index+1) - log.Printf("Found secretEnv '%s' matching env file key and replaced it.", k) + log.Printf("Step \"%s\": Found secretEnv '%s' matching env file key and replaced it.", s.Id, k) } } }