Skip to content

Commit

Permalink
Adding rpm scan task to konflux (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCazade authored Nov 22, 2024
1 parent 6de3cd0 commit d05b942
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .tekton/pipeline-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ spec:
results:
- description: ""
name: IMAGE_URL
value: $(tasks.build-container.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
- description: ""
name: IMAGE_DIGEST
value: $(tasks.build-container.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- description: ""
name: CHAINS-GIT_URL
value: $(tasks.clone-repository.results.url)
Expand Down Expand Up @@ -250,7 +250,28 @@ spec:
operator: in
values:
- "true"

- name: rpms-signature-scan
params:
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: image-digest
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
runAfter:
- build-image-index
taskRef:
params:
- name: name
value: rpms-signature-scan
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:28aaf87d61078a0aeeeabcae455eda7d05c4f9b81d8995bdcf3dde95c1a7a77b
- name: kind
value: task
resolver: bundles
when:
- input: $(params.skip-checks)
operator: in
values:
- "false"
- name: build-source-image
params:
- name: BINARY_IMAGE
Expand Down

0 comments on commit d05b942

Please sign in to comment.