This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch release-2.3.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/release-2.3.x by this push:
new 67dc42dbb fix(pipeline): add s2i to publish tasks
67dc42dbb is described below
commit 67dc42dbb06feff38b6f9731d735da5b83152cc4
Author: mmajerni <[email protected]>
AuthorDate: Tue Apr 30 09:22:14 2024 +0200
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 e58a85038..9e3fcf2d7 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 ""