You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gf...@apache.org on 2024/04/30 09:50:36 UTC
(camel-k) branch main updated: fix(pipeline): add s2i to publish tasks
This is an automated email from the ASF dual-hosted git repository.
gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 151c29ab4 fix(pipeline): add s2i to publish tasks
151c29ab4 is described below
commit 151c29ab4d7528b8e737eae545b2189eb5e1c911
Author: mmajerni <mm...@redhat.com>
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 ""