diff --git a/task/clamav-scan/0.1/clamav-scan.yaml b/task/clamav-scan/0.1/clamav-scan.yaml index eba89c6ae0..d33600c474 100644 --- a/task/clamav-scan/0.1/clamav-scan.yaml +++ b/task/clamav-scan/0.1/clamav-scan.yaml @@ -15,7 +15,7 @@ spec: description: Tekton task test output. - name: IMAGES_PROCESSED description: Images processed in the task. - - name: RESULT_URI + - name: CLAMAV_RESULT_URI description: OCI pullspec where the full clamav output can be found. params: - name: image-digest @@ -160,7 +160,7 @@ spec: REPO="${REPO[0]}" DIGEST=$(echo "${IMAGE_DIGEST}" | tr : -) SUFFIX=clamav - RESULT_URI="${REPO}:${DIGEST}.${SUFFIX}" + CLAMAV_RESULT_URI="${REPO}:${DIGEST}.${SUFFIX}" cd logs @@ -172,8 +172,8 @@ spec: MEDIA_TYPE=application/vnd.konflux.test_output+json args+=("${UPLOAD_FILE}:${MEDIA_TYPE}") done - retry oras push --no-tty --registry-config "$HOME/.docker/config.json" "${RESULT_URI}" "${args[@]}" - echo "${RESULT_URI}" > $(results.RESULT_URI.path) + retry oras push --no-tty --registry-config "$HOME/.docker/config.json" "${CLAMAV_RESULT_URI}" "${args[@]}" + echo "${CLAMAV_RESULT_URI}" > $(results.CLAMAV_RESULT_URI.path) volumeMounts: - mountPath: /work name: work diff --git a/task/sast-snyk-check/0.1/sast-snyk-check.yaml b/task/sast-snyk-check/0.1/sast-snyk-check.yaml index 02dea82f8c..ce3d3e480c 100644 --- a/task/sast-snyk-check/0.1/sast-snyk-check.yaml +++ b/task/sast-snyk-check/0.1/sast-snyk-check.yaml @@ -14,7 +14,7 @@ spec: - description: Tekton task test output. name: TEST_OUTPUT - description: OCI pullspec where the full SARIF result can be found. - name: RESULT_URI + name: SAST_RESULT_URI params: - name: SNYK_SECRET description: Name of secret which contains Snyk token. @@ -121,9 +121,9 @@ spec: IFS=':' read -ra REPO <<< "$IMAGE_URL" REPO="${REPO[0]}" DIGEST=$(echo "${IMAGE_DIGEST}" | tr : -) - RESULT_URI="${REPO}:${DIGEST}.${SUFFIX}" + SAST_RESULT_URI="${REPO}:${DIGEST}.${SUFFIX}" - retry oras push --no-tty --registry-config "$HOME/.docker/config.json" "${RESULT_URI}" "${UPLOAD_FILE}:${MEDIA_TYPE}" - echo "${RESULT_URI}" > $(results.RESULT_URI.path) + retry oras push --no-tty --registry-config "$HOME/.docker/config.json" "${SAST_RESULT_URI}" "${UPLOAD_FILE}:${MEDIA_TYPE}" + echo "${SAST_RESULT_URI}" > $(results.SAST_RESULT_URI.path) workspaces: - name: workspace