Skip to content

Commit

Permalink
ci: fix konflux by adding task rpms-signature-scan (#123)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxue Wang <xiaoxwan@redhat.com>
  • Loading branch information
JoySnow authored Dec 3, 2024
1 parent c682cb2 commit ec97d1f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .tekton/yuptoo-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions .tekton/yuptoo-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec97d1f

Please sign in to comment.