|
11 | 11 | description: |
|
12 | 12 | This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
|
13 | 13 |
|
14 |
| - _Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://enterprisecontract.dev/docs/ec-policies/release_policy.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks. |
| 14 | + _Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://conforma.dev/docs/policy/packages/release_trusted_task.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks. |
15 | 15 | This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build-multi-platform-oci-ta?tab=tags)_
|
16 | 16 | finally:
|
17 | 17 | - name: show-sbom
|
|
88 | 88 | description: Image tag expiration time, time values could be something like 1h,
|
89 | 89 | 2d, 3w for hours, days, and weeks, respectively.
|
90 | 90 | name: image-expires-after
|
| 91 | + type: string |
91 | 92 | - default: []
|
92 | 93 | description: Array of --build-arg values ("arg=value" strings) for buildah
|
93 | 94 | name: build-args
|
@@ -231,8 +232,10 @@ spec:
|
231 | 232 | params:
|
232 | 233 | - name: ADDITIONAL_TAGS
|
233 | 234 | value: $(params.additional-tags[*])
|
234 |
| - - name: IMAGE |
| 235 | + - name: IMAGE_URL |
235 | 236 | value: $(tasks.build-image-index.results.IMAGE_URL)
|
| 237 | + - name: IMAGE_DIGEST |
| 238 | + value: $(tasks.build-image-index.results.IMAGE_DIGEST) |
236 | 239 | runAfter:
|
237 | 240 | - build-image-index
|
238 | 241 | taskRef:
|
@@ -322,7 +325,9 @@ spec:
|
322 | 325 | - name: build-source-image
|
323 | 326 | params:
|
324 | 327 | - name: BINARY_IMAGE
|
325 |
| - value: $(params.output-image) |
| 328 | + value: $(tasks.build-image-index.results.IMAGE_URL) |
| 329 | + - name: BINARY_IMAGE_DIGEST |
| 330 | + value: $(tasks.build-image-index.results.IMAGE_DIGEST) |
326 | 331 | - name: SOURCE_ARTIFACT
|
327 | 332 | value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
|
328 | 333 | - name: CACHI2_ARTIFACT
|
@@ -501,7 +506,7 @@ spec:
|
501 | 506 | - name: name
|
502 | 507 | value: rpms-signature-scan
|
503 | 508 | - name: bundle
|
504 |
| - value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:ec7f6de651458e4a5842b145e761b0d86b03b52bec1515d6d8a1b8cf107af95c |
| 509 | + value: quay.io/konflux-ci/konflux-vanguard/task-rpms-signature-scan:0.2@sha256:7d1c087d7d33dd97effb3b4c9f3788e4c3138da2032040d69da6929e9a3aaceb |
505 | 510 | - name: kind
|
506 | 511 | value: task
|
507 | 512 | resolver: bundles
|
|
0 commit comments