diff --git a/.tekton/yuptoo-pull-request.yaml b/.tekton/yuptoo-pull-request.yaml index 492922c..30ce8a4 100644 --- a/.tekton/yuptoo-pull-request.yaml +++ b/.tekton/yuptoo-pull-request.yaml @@ -283,6 +283,25 @@ spec: operator: in values: - "true" + - name: rpms-signature-scan + params: + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) + - name: fail-unsigned + value: true + runAfter: + - build-container + taskRef: + params: + - name: name + value: rpms-signature-scan + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:8f3b23bf1b0ef55cc79d28604d2397a0101ac9c0c42ae26e26532eb2778c801b + - name: kind + value: task + resolver: bundles - name: build-source-image params: - name: BINARY_IMAGE diff --git a/.tekton/yuptoo-push.yaml b/.tekton/yuptoo-push.yaml index 4bf6435..5f93a91 100644 --- a/.tekton/yuptoo-push.yaml +++ b/.tekton/yuptoo-push.yaml @@ -280,6 +280,25 @@ spec: operator: in values: - "true" + - name: rpms-signature-scan + params: + - name: image-digest + value: $(tasks.build-container.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-container.results.IMAGE_URL) + - name: fail-unsigned + value: true + runAfter: + - build-container + taskRef: + params: + - name: name + value: rpms-signature-scan + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:8f3b23bf1b0ef55cc79d28604d2397a0101ac9c0c42ae26e26532eb2778c801b + - name: kind + value: task + resolver: bundles - name: build-source-image params: - name: BINARY_IMAGE