@@ -7,9 +7,7 @@ metadata:
7
7
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
8
8
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
9
9
pipelinesascode.tekton.dev/max-keep-runs : " 3"
10
- pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch
11
- == "main" && ( "image/git-init/***".pathChanged() || ".tekton/git-init-pull-request.yaml".pathChanged()
12
- )
10
+ pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch == "main" && ( "image/git-init/***".pathChanged() || ".tekton/git-init-pull-request.yaml".pathChanged() )
13
11
creationTimestamp : null
14
12
labels :
15
13
appstudio.openshift.io/application : tektoncd-git-clone
@@ -77,13 +75,11 @@ spec:
77
75
name : output-image
78
76
type : string
79
77
- default : .
80
- description : Path to the source code of an application's component from where
81
- to build image.
78
+ description : Path to the source code of an application's component from where to build image.
82
79
name : path-context
83
80
type : string
84
81
- default : Dockerfile
85
- description : Path to the Dockerfile inside the context specified by parameter
86
- path-context
82
+ description : Path to the Dockerfile inside the context specified by parameter path-context
87
83
name : dockerfile
88
84
type : string
89
85
- default : " false"
@@ -107,8 +103,7 @@ spec:
107
103
name : java
108
104
type : string
109
105
- default : " "
110
- description : Image tag expiration time, time values could be something like
111
- 1h, 2d, 3w for hours, days, and weeks, respectively.
106
+ description : Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
112
107
name : image-expires-after
113
108
- default : " false"
114
109
description : Build a source image.
@@ -269,7 +264,7 @@ spec:
269
264
- name : IMAGE_URL
270
265
value : $(tasks.build-container.results.IMAGE_URL)
271
266
- name : IMAGE_DIGEST
272
- value : $(tasks.build-container.results.IMAGE_DIGEST)
267
+ value : $(tasks.build-container.results.IMAGE_DIGEST)
273
268
runAfter :
274
269
- build-container
275
270
taskRef :
0 commit comments