Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 6abd92b

Browse files
ccroncaifireball
authored andcommitted
fix(KONFLUX-3663): upload SAST results to quay.io
Configure the SAST task to upload SARIF results to quay.io for long-term storage Signed-off-by: ccronca <[email protected]>
1 parent fccbab2 commit 6abd92b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.tekton/segment-bridge-pull-request.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ spec:
308308
- "false"
309309
- name: sast-snyk-check
310310
runAfter:
311-
- clone-repository
311+
- build-container
312312
taskRef:
313313
params:
314314
- name: name
@@ -326,6 +326,11 @@ spec:
326326
workspaces:
327327
- name: workspace
328328
workspace: workspace
329+
params:
330+
- name: image-digest
331+
value: $(tasks.build-container.results.IMAGE_DIGEST)
332+
- name: image-url
333+
value: $(tasks.build-container.results.IMAGE_URL)
329334
- name: clamav-scan
330335
params:
331336
- name: image-digest

.tekton/segment-bridge-push.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ spec:
305305
- "false"
306306
- name: sast-snyk-check
307307
runAfter:
308-
- clone-repository
308+
- build-container
309309
taskRef:
310310
params:
311311
- name: name
@@ -323,6 +323,11 @@ spec:
323323
workspaces:
324324
- name: workspace
325325
workspace: workspace
326+
params:
327+
- name: image-digest
328+
value: $(tasks.build-container.results.IMAGE_DIGEST)
329+
- name: image-url
330+
value: $(tasks.build-container.results.IMAGE_URL)
326331
- name: clamav-scan
327332
params:
328333
- name: image-digest

0 commit comments

Comments
 (0)