From 7aa313c5ab85c0d2ae6c09b1131ddfae214342b3 Mon Sep 17 00:00:00 2001 From: Ryan Albert Date: Mon, 18 Nov 2024 16:39:58 -0800 Subject: [PATCH] feat: update --- internal/actions/runWorkflow.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/actions/runWorkflow.go b/internal/actions/runWorkflow.go index 1f99951..7146eab 100644 --- a/internal/actions/runWorkflow.go +++ b/internal/actions/runWorkflow.go @@ -283,12 +283,13 @@ func finalize(inputs finalizeInputs) error { } } + inputs.Outputs["commit_hash"] = commitHash + // add merging branch registry tag if err = addDirectModeBranchTagging(); err != nil { return errors.Wrap(err, "failed to tag registry images") } - inputs.Outputs["commit_hash"] = commitHash } return nil