@@ -7,11 +7,7 @@ metadata:
77 build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
88 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
99 pipelinesascode.tekton.dev/max-keep-runs : " 3"
10- pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch
11- == "main" && ( ".tekton/exhort-pull-request.yaml".pathChanged()
12- || "ui/*".pathChanged() || "src/*".pathChanged() || "api-spec/*".pathChanged()
13- || "pom.xml".pathChanged() )
14- && !( event_title.contains("[skip ci]") || event_title.contains("[ci skip]") )
10+ pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch == "main" && ( ".tekton/exhort-pull-request.yaml".pathChanged() || "ui/*".pathChanged() || "src/*".pathChanged() || "api-spec/*".pathChanged() || "pom.xml".pathChanged() ) && !( event_title.contains("[skip ci]") || event_title.contains("[ci skip]") )
1511 creationTimestamp : null
1612 labels :
1713 appstudio.openshift.io/application : exhort
6864 value : task
6965 resolver : bundles
7066 workspaces :
71- - name : workspace
72- workspace : workspace
67+ - name : workspace
68+ workspace : workspace
7369 params :
7470 - description : Source Repository URL
7571 name : git-url
@@ -82,13 +78,11 @@ spec:
8278 name : output-image
8379 type : string
8480 - default : .
85- description : Path to the source code of an application's component from where
86- to build image.
81+ description : Path to the source code of an application's component from where to build image.
8782 name : path-context
8883 type : string
8984 - default : Dockerfile
90- description : Path to the Dockerfile inside the context specified by parameter
91- path-context
85+ description : Path to the Dockerfile inside the context specified by parameter path-context
9286 name : dockerfile
9387 type : string
9488 - default : " false"
@@ -112,8 +106,7 @@ spec:
112106 name : java
113107 type : string
114108 - default : " "
115- description : Image tag expiration time, time values could be something like
116- 1h, 2d, 3w for hours, days, and weeks, respectively.
109+ description : Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
117110 name : image-expires-after
118111 results :
119112 - description : " "
@@ -269,7 +262,6 @@ spec:
269262 value : $(tasks.build-container.results.IMAGE_URL)
270263 - name : IMAGE_DIGEST
271264 value : $(tasks.build-container.results.IMAGE_DIGEST)
272-
273265 taskRef :
274266 params :
275267 - name : name
@@ -308,7 +300,7 @@ spec:
308300 - " false"
309301 - name : sast-snyk-check
310302 runAfter :
311- - clone-repository
303+ - build-container
312304 taskRef :
313305 params :
314306 - name : name
@@ -326,6 +318,11 @@ spec:
326318 workspaces :
327319 - name : workspace
328320 workspace : workspace
321+ params :
322+ - name : image-digest
323+ value : $(tasks.build-container.results.IMAGE_DIGEST)
324+ - name : image-url
325+ value : $(tasks.build-container.results.IMAGE_URL)
329326 - name : clamav-scan
330327 params :
331328 - name : image-digest
0 commit comments