From 6fe582ed48042b17b1cf9a05fd129a0c5c7db9f8 Mon Sep 17 00:00:00 2001 From: Thomas Rooney Date: Thu, 16 Jan 2025 12:38:29 +0000 Subject: [PATCH] chore: fix change detection when there is a single registry source as an input --- internal/run/sourceTracking.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/run/sourceTracking.go b/internal/run/sourceTracking.go index e31267b0..79c3099f 100644 --- a/internal/run/sourceTracking.go +++ b/internal/run/sourceTracking.go @@ -159,6 +159,8 @@ func (w *Workflow) snapshotSource(ctx context.Context, parentStep *workflowTrack if err != nil { return err } + + namespaceName = document.NamespaceName w.lockfile.Sources[sourceID] = workflow.SourceLock{ SourceNamespace: namespaceName, SourceRevisionDigest: document.ManifestDigest,