Skip to content

Commit

Permalink
chore: patch func-deploy task to use midstream specific 1.30.0 kn cli…
Browse files Browse the repository at this point in the history
…ent image
  • Loading branch information
jrangelramos committed Aug 10, 2023
1 parent c4d667d commit fa398b8
Showing 1 changed file with 14 additions and 4 deletions.
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:6c553687c1e3102cd5d5a9079a44b2e2e6aefdb46f1062bd0881be67d87eead5"
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 fa398b8

Please sign in to comment.