diff --git a/.tekton/prometheus-config-reloader-acm-211-pull-request.yaml b/.tekton/prometheus-config-reloader-acm-211-pull-request.yaml index ba4516e2998..10fb3f34679 100644 --- a/.tekton/prometheus-config-reloader-acm-211-pull-request.yaml +++ b/.tekton/prometheus-config-reloader-acm-211-pull-request.yaml @@ -339,7 +339,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -357,6 +357,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/prometheus-config-reloader-acm-211-push.yaml b/.tekton/prometheus-config-reloader-acm-211-push.yaml index 69e89b65401..e4ffb8e99d1 100644 --- a/.tekton/prometheus-config-reloader-acm-211-push.yaml +++ b/.tekton/prometheus-config-reloader-acm-211-push.yaml @@ -336,7 +336,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -354,6 +354,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/prometheus-operator-acm-211-pull-request.yaml b/.tekton/prometheus-operator-acm-211-pull-request.yaml index 3af5751a90f..cc9de664a48 100644 --- a/.tekton/prometheus-operator-acm-211-pull-request.yaml +++ b/.tekton/prometheus-operator-acm-211-pull-request.yaml @@ -339,7 +339,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -357,6 +357,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/prometheus-operator-acm-211-push.yaml b/.tekton/prometheus-operator-acm-211-push.yaml index 7bab67f5b21..ec31eff4143 100644 --- a/.tekton/prometheus-operator-acm-211-push.yaml +++ b/.tekton/prometheus-operator-acm-211-push.yaml @@ -336,7 +336,7 @@ spec: - "false" - name: sast-snyk-check runAfter: - - clone-repository + - build-container taskRef: params: - name: name @@ -354,6 +354,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