diff --git a/.tekton/hive-mce-25-pull-request.yaml b/.tekton/hive-mce-25-pull-request.yaml index 3ddf9f856de..25c90ee389e 100644 --- a/.tekton/hive-mce-25-pull-request.yaml +++ b/.tekton/hive-mce-25-pull-request.yaml @@ -324,7 +324,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -342,6 +342,11 @@ spec: workspaces: - name: workspace workspace: workspace + params: + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) - name: clamav-scan params: - name: image-digest diff --git a/.tekton/hive-mce-25-push.yaml b/.tekton/hive-mce-25-push.yaml index bbcbd386db4..d748673092b 100644 --- a/.tekton/hive-mce-25-push.yaml +++ b/.tekton/hive-mce-25-push.yaml @@ -321,7 +321,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -339,6 +339,11 @@ spec: workspaces: - name: workspace workspace: workspace + params: + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) - name: clamav-scan params: - name: image-digest