Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 7d1b542

Browse files
committed
Update taskRef format
Tekton/Openshift Pipelines are supporting multiple resolvers now, which changed format of taskRef definition. Old way is still possible but having performace issues.
1 parent 05098e9 commit 7d1b542

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/modules/ROOT/pages/how-to-guides/configuring-builds/proc_customize_build_pipeline.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,14 @@ name: example-task
4848
runAfter:
4949
- build-container #You can be more specific by choosing another task
5050
taskRef:
51-
bundle: <path to container image>
52-
name: example-task
51+
params:
52+
- name: name
53+
value: example-task
54+
- name: bundle
55+
value: <path to container image>
56+
- name: kind
57+
value: task
58+
resolver: bundles
5359
when:
5460
- input: $(params.skip-checks) #This references the pipeline parameters
5561
operator: in

0 commit comments

Comments
 (0)