diff --git a/.tekton/migration-dashboard-pull-request.yaml b/.tekton/migration-dashboard-pull-request.yaml index 0f52432..681f92b 100644 --- a/.tekton/migration-dashboard-pull-request.yaml +++ b/.tekton/migration-dashboard-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: "" @@ -293,8 +292,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:6ec7690387f3610530bf99809f039549d2037f8a0e769c6e9db996b2d5f57552 name: sast-snyk-check diff --git a/.tekton/migration-dashboard-push.yaml b/.tekton/migration-dashboard-push.yaml index 4c7858a..e154430 100644 --- a/.tekton/migration-dashboard-push.yaml +++ b/.tekton/migration-dashboard-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: "" @@ -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:6ec7690387f3610530bf99809f039549d2037f8a0e769c6e9db996b2d5f57552 name: sast-snyk-check