From 13c57fa1cd4d68901605147c371f2b9d46fb4a2b Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Thu, 2 Sep 2021 12:45:07 +0200 Subject: [PATCH] Apply ko publish patch to here ... Signed-off-by: Matthias Wessendorf --- .../knative.dev/reconciler-test/pkg/images/ko.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/vendor/knative.dev/reconciler-test/pkg/images/ko.go b/vendor/knative.dev/reconciler-test/pkg/images/ko.go index adde2080f38..ff57c9d6bf8 100644 --- a/vendor/knative.dev/reconciler-test/pkg/images/ko.go +++ b/vendor/knative.dev/reconciler-test/pkg/images/ko.go @@ -16,20 +16,7 @@ limitations under the License. package images -import ( - "fmt" - "os" -) - // Use ko to publish the image. func KoPublish(path string) (string, error) { - platform := os.Getenv("PLATFORM") - if len(platform) > 0 { - platform = " --platform=" + platform - } - out, err := runCmd(fmt.Sprintf("ko publish%s -B %s", platform, path)) - if err != nil { - return "", err - } - return out, nil + return "", nil }