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 cf13f7ad06..588dbf38f3 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,19 @@ spec: description: The workspace containing the function project steps: - name: func-deploy - image: "ghcr.io/knative/func-utils:latest" - script: | - deploy $(params.path) "$(params.image)" + image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:929adc2cf43f3ddcc543955338a51b0df346e0f2466ae4e5db346f242eb7ef6b" + env: + - name: FUNC_IMAGE + value: "$(params.image)" + - name: HOME + value: "/tmp" + command: + - /ko-app/kn + args: + - func + - deploy + - --verbose + - --build=false + - --push=false + - --path=$(params.path) + - --remote=false 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 e3f6d5f88e..34267fc9d8 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,19 @@ spec: description: The workspace containing the function project steps: - name: func-deploy - image: "ghcr.io/knative/func-utils:latest" - script: | - deploy $(params.path) "$(params.image)" + image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:929adc2cf43f3ddcc543955338a51b0df346e0f2466ae4e5db346f242eb7ef6b" + env: + - name: FUNC_IMAGE + value: "$(params.image)" + - name: HOME + value: "/tmp" + command: + - /ko-app/kn + args: + - func + - deploy + - --verbose + - --build=false + - --push=false + - --path=$(params.path) + - --remote=false