Skip to content

Commit

Permalink
chore: patch func-deploy task to midstream specific impletementation …
Browse files Browse the repository at this point in the history
…with serverless 1.28 kn client image (knative#516)
  • Loading branch information
jrangelramos committed Mar 28, 2023
1 parent b971263 commit 4b8dd7c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ spec:
description: The workspace containing the function project
steps:
- name: func-deploy
image: "ghcr.io/knative/func/func:latest"
script: |
export FUNC_IMAGE="$(params.image)"
func deploy --verbose --build=false --push=false --path=$(params.path) --remote=false
image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:59858828680d052d1f51f959a64c46afae61939b18d6bddc1f4dfb1ac68c43c0"
env:
- name: FUNC_IMAGE
value: "$(params.image)"
command:
- /ko-app/kn
args:
- func
- deploy
- --verbose
- --build=false
- --push=false
- --path=$(params.path)
- --remote=false

0 comments on commit 4b8dd7c

Please sign in to comment.