From 8151d6602f7460c17ac5c09ee498e225baa11433 Mon Sep 17 00:00:00 2001 From: Jefferson Ramos Date: Wed, 7 Feb 2024 16:53:18 -0300 Subject: [PATCH] update func-deploy-pac task to use productized images (#738) --- .../task/func-deploy/0.1/func-deploy-pac.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy-pac.yaml b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy-pac.yaml index fa77b4450c..24a2cdc751 100644 --- a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy-pac.yaml +++ b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy-pac.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