diff --git a/.tekton/hypershift-addon-operator-backplane-24-pull-request.yaml b/.tekton/hypershift-addon-operator-backplane-24-pull-request.yaml index 025e1e80..f1fc9138 100644 --- a/.tekton/hypershift-addon-operator-backplane-24-pull-request.yaml +++ b/.tekton/hypershift-addon-operator-backplane-24-pull-request.yaml @@ -100,8 +100,7 @@ spec: name: snyk-secret type: string - default: "" - description: Image tag expiration time, time values could be something like - 1h, 2d, 3w for hours, days, and weeks, respectively. + description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively. name: image-expires-after results: - description: "" @@ -290,8 +289,12 @@ spec: params: - name: SNYK_SECRET value: $(params.snyk-secret) + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) runAfter: - - clone-repository + - build-container taskRef: bundle: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:ce73b27a7a345a99ff88a730388d938243678af42704da8db69387bdf547b8ad name: sast-snyk-check diff --git a/.tekton/hypershift-addon-operator-backplane-24-push.yaml b/.tekton/hypershift-addon-operator-backplane-24-push.yaml index 66bbe4fa..3a2ae497 100644 --- a/.tekton/hypershift-addon-operator-backplane-24-push.yaml +++ b/.tekton/hypershift-addon-operator-backplane-24-push.yaml @@ -97,8 +97,7 @@ spec: name: snyk-secret type: string - default: "" - description: Image tag expiration time, time values could be something like - 1h, 2d, 3w for hours, days, and weeks, respectively. + description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively. name: image-expires-after results: - description: "" @@ -287,8 +286,12 @@ spec: params: - name: SNYK_SECRET value: $(params.snyk-secret) + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) runAfter: - - clone-repository + - build-container taskRef: bundle: quay.io/redhat-appstudio-tekton-catalog/task-sast-snyk-check:0.1@sha256:ce73b27a7a345a99ff88a730388d938243678af42704da8db69387bdf547b8ad name: sast-snyk-check