This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 0bf1db093867d6a2f5fdb65c5601dd95c0f4c72b
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Tue Dec 17 12:15:50 2019 +0100

    fix(build): Fix .SourceStrategy.From.Kind.Name field in S2I BuildConfig
---
 pkg/builder/s2i/publisher.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/builder/s2i/publisher.go b/pkg/builder/s2i/publisher.go
index 88c0192..d3afb3a 100644
--- a/pkg/builder/s2i/publisher.go
+++ b/pkg/builder/s2i/publisher.go
@@ -61,7 +61,7 @@ func publisher(ctx *builder.Context) error {
                                        SourceStrategy: 
&buildv1.SourceBuildStrategy{
                                                From: corev1.ObjectReference{
                                                        Kind: "DockerImage",
-                                                       Name: ctx.Image,
+                                                       Name: ctx.BaseImage,
                                                },
                                        },
                                },

Reply via email to