Skip to content

Commit d212ab3

Browse files
Merge pull request #662 from bergmannf/pko-pipeline
Modify the docker build pipeline to skip cert-check for PKO image builds
2 parents 2d33d0d + 0768827 commit d212ab3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pipelines/docker-build-oci-ta/pipeline.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ spec:
8585
default: docker
8686
type: string
8787
description: The format for the resulting image's mediaType. Valid values are oci or docker.
88+
- name: skip-preflight-cert-check
89+
default: "false"
90+
type: string
91+
description: Skip the preflight cert-check. This can required for scratch images. Valid values are false and true.
8892
results:
8993
- description: ""
9094
name: IMAGE_URL
@@ -341,6 +345,10 @@ spec:
341345
operator: in
342346
values:
343347
- "false"
348+
- input: $(params.skip-preflight-cert-check)
349+
operator: in
350+
values:
351+
- "false"
344352
- name: sast-snyk-check
345353
params:
346354
- name: image-digest

0 commit comments

Comments
 (0)