diff --git a/.tekton/rh-syft-pull-request.yaml b/.tekton/rh-syft-pull-request.yaml index 6b7a8322..6880a118 100644 --- a/.tekton/rh-syft-pull-request.yaml +++ b/.tekton/rh-syft-pull-request.yaml @@ -325,10 +325,14 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container params: - name: ARGS value: --report --project-name=redhat-appstudio/rh-syft + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) taskRef: params: - name: name diff --git a/.tekton/rh-syft-push.yaml b/.tekton/rh-syft-push.yaml index 127eb13c..3f1a4427 100644 --- a/.tekton/rh-syft-push.yaml +++ b/.tekton/rh-syft-push.yaml @@ -322,10 +322,14 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container params: - name: ARGS value: --report --project-name=redhat-appstudio/rh-syft + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) taskRef: params: - name: name