From baefc56ae96f6d85e7f8208d683e51a2f7f72891 Mon Sep 17 00:00:00 2001 From: Serverless QE Robot <86025630+serverless-qe@users.noreply.github.com> Date: Wed, 7 Feb 2024 20:19:05 +0100 Subject: [PATCH] chore: patch func-deploy task to use midstream specific 1.31.0 kn client image (#714) --- .../task/func-deploy/0.1/func-deploy.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml index e53ddadb06..f836f66d75 100644 --- a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml +++ b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml @@ -24,6 +24,17 @@ spec: description: The workspace containing the function project steps: - name: func-deploy - image: "ghcr.io/knative/func/func:latest" - script: | - func deploy --verbose --build=false --push=false --path=$(params.path) --remote=false --image="$(params.image)" + image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:e36d4a92e03d35be45d34036a4c0aa3b4ffbe606280ca6bcb43cfa89dbe67abd" + env: + - name: FUNC_IMAGE + value: "$(params.image)" + command: + - /ko-app/kn + args: + - func + - deploy + - --verbose + - --build=false + - --push=false + - --path=$(params.path) + - --remote=false