From 9c0344172856b4b9ca1077229378fe6b312e3fb7 Mon Sep 17 00:00:00 2001 From: mmajerni Date: Tue, 30 Apr 2024 09:22:14 +0200 Subject: [PATCH] fix(pipeline): add s2i to publish tasks --- pkg/controller/build/monitor_pod.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/controller/build/monitor_pod.go b/pkg/controller/build/monitor_pod.go index e58a85038a..9e3fcf2d7b 100644 --- a/pkg/controller/build/monitor_pod.go +++ b/pkg/controller/build/monitor_pod.go @@ -361,6 +361,8 @@ func publishTaskImageName(tasks []v1.Task) string { return t.Spectrum.Image case t.Jib != nil: return t.Jib.Image + case t.S2i != nil: + return t.S2i.Name } return "" @@ -378,6 +380,8 @@ func publishTaskName(tasks []v1.Task) string { return t.Spectrum.Name case t.Jib != nil: return t.Jib.Name + case t.S2i != nil: + return t.S2i.Name } return ""