4646
4747 _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.
4848 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)_
49- finally :
50- - name : show-sbom
51- params :
52- - name : IMAGE_URL
53- value : $(tasks.build-image-index.results.IMAGE_URL)
54- taskRef :
55- params :
56- - name : name
57- value : show-sbom
58- - name : bundle
59- value : quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:04994df487ee886adbe60a8a5866647fbdfd53cc26f7b2554272ba51bf7af29e
60- - name : kind
61- value : task
62- resolver : bundles
6349 params :
6450 - description : Source Repository URL
6551 name : git-url
@@ -128,6 +114,22 @@ spec:
128114 default : ' false'
129115 description : Enable cache proxy configuration
130116 type : string
117+ - name : source-date-epoch
118+ type : string
119+ default : ' '
120+ description : Sets the image created time and the SOURCE_DATE_EPOCH build argument. On its own, it does not change file timestamps inside the layers (set rewrite-timestamp to "true" for that). Leave empty to keep the actual build time.
121+ - name : rewrite-timestamp
122+ type : string
123+ default : ' false'
124+ description : When "true", clamp file modification times in the image layers to at most source-date-epoch. Does nothing unless source-date-epoch is set.
125+ - name : omit-history
126+ type : string
127+ default : ' false'
128+ description : When "true", omit the build history (history timestamps, layer metadata, etc.) from the resulting image.
129+ - name : enable-package-registry-proxy
130+ default : ' true'
131+ description : Use the package registry proxy when prefetching dependencies
132+ type : string
131133 results :
132134 - description : " "
133135 name : IMAGE_URL
@@ -151,7 +153,7 @@ spec:
151153 - name : name
152154 value : init
153155 - name : bundle
154- value : quay.io/konflux-ci/tekton-catalog/task-init:0.4@sha256:288f3106118edc1d0f0c79a89c960abf5841a4dd8bc3f38feb10527253105b19
156+ value : quay.io/konflux-ci/tekton-catalog/task-init:0.4.3 @sha256:5f687152ab0661f84830877de93a8ec45cb0b756f71b24ac55133d03a4007936
155157 - name : kind
156158 value : task
157159 resolver : bundles
@@ -172,7 +174,7 @@ spec:
172174 - name : name
173175 value : git-clone-oci-ta
174176 - name : bundle
175- value : quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1 @sha256:2c388d28651457db60bb90287e7d8c3680303197196e4476878d98d81e8b6dc9
177+ value : quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.2.6 @sha256:3bcd4c39a346d29617013f4c47d245d38f020cdbf814cf3ce095911c528f5003
176178 - name : kind
177179 value : task
178180 resolver : bundles
@@ -191,14 +193,16 @@ spec:
191193 value : $(params.image-expires-after)
192194 - name : dev-package-managers
193195 value : " true"
196+ - name : enable-package-registry-proxy
197+ value : $(params.enable-package-registry-proxy)
194198 runAfter :
195199 - clone-repository
196200 taskRef :
197201 params :
198202 - name : name
199203 value : prefetch-dependencies-oci-ta
200204 - name : bundle
201- value : quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.3 @sha256:9917d11f0a38c844184042d504b3d5605c009e6e43785fa113caae8b4c99b75e
205+ value : quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.10.1 @sha256:c09c1c3ced67fb8740b2925a7de09c0810d4e8c8f148d41c21ffe37810d85c62
202206 - name : kind
203207 value : task
204208 resolver : bundles
@@ -247,14 +251,20 @@ spec:
247251 value : $(tasks.init.results.http-proxy)
248252 - name : NO_PROXY
249253 value : $(tasks.init.results.no-proxy)
254+ - name : SOURCE_DATE_EPOCH
255+ value : $(params.source-date-epoch)
256+ - name : REWRITE_TIMESTAMP
257+ value : $(params.rewrite-timestamp)
258+ - name : OMIT_HISTORY
259+ value : $(params.omit-history)
250260 runAfter :
251261 - prefetch-dependencies
252262 taskRef :
253263 params :
254264 - name : name
255265 value : buildah-remote-oci-ta
256266 - name : bundle
257- value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.9 @sha256:4b3b76822c67fb734a9b3a5112e3810e271ee09d2777720a277a33870d3b038b
267+ value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.12.0 @sha256:44c1ca2e823f006ee94e066231b033b191f0f8cee51add1e908138335eba9b30
258268 - name : kind
259269 value : task
260270 resolver : bundles
@@ -276,7 +286,7 @@ spec:
276286 - name : name
277287 value : build-image-index
278288 - name : bundle
279- value : quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.3@sha256:ae3fa44f005054d4901d33413972227b5642d376968a67791535cdcc2e98473d
289+ value : quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.3.1 @sha256:c2cda69e681c976dd5b39caf6682d1c8f8c5e5a53a67a22a5b06d4cde773bd10
280290 - name : kind
281291 value : task
282292 resolver : bundles
@@ -297,7 +307,7 @@ spec:
297307 - name : name
298308 value : source-build-oci-ta
299309 - name : bundle
300- value : quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:362f0475df00e7dfb5f15dea0481d1b68b287f60411718d70a23da3c059a5613
310+ value : quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:6bb2697f8f194a6a644b8b861489ce8b1c5ba16a7d55dbd8e66a0c98d06dfc1c
301311 - name : kind
302312 value : task
303313 resolver : bundles
@@ -319,7 +329,7 @@ spec:
319329 - name : name
320330 value : deprecated-image-check
321331 - name : bundle
322- value : quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:5ff16b7e6b4a8aa1adb352e74b9f831f77ff97bafd1b89ddb0038d63335f1a67
332+ value : quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:0ccc688a77e9b7b0b8973c132a1e840844137e77f887be4a0bec8893b0776872
323333 - name : kind
324334 value : task
325335 resolver : bundles
@@ -333,7 +343,7 @@ spec:
333343 - name : image-platform
334344 value :
335345 - $(params.build-platforms)
336- name : clair -scan
346+ name : roxctl -scan
337347 params :
338348 - name : image-digest
339349 value : $(tasks.build-image-index.results.IMAGE_DIGEST)
@@ -344,9 +354,9 @@ spec:
344354 taskRef :
345355 params :
346356 - name : name
347- value : clair -scan
357+ value : roxctl -scan
348358 - name : bundle
349- value : quay.io/konflux-ci/tekton-catalog/task-clair -scan:0.3 @sha256:89924756c91ded746cf9ccc9f07907595e5b2454ddda0219132913a4875a5f59
359+ value : quay.io/konflux-ci/tekton-catalog/task-roxctl -scan:0.1 @sha256:76ed85aa05ce42d31341269837f104c3b766508313a68439085dcf9cc89d03f4
350360 - name : kind
351361 value : task
352362 resolver : bundles
@@ -366,7 +376,7 @@ spec:
366376 - name : name
367377 value : ecosystem-cert-preflight-checks
368378 - name : bundle
369- value : quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:b4ac586edea81dcd25dfc17f1bd57899825be2b443e48d572cd05ce058f153bb
379+ value : quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:b961f8b259483fac39efc9371faca88faea528d2572ae30b79a9d3b56db8364b
370380 - name : kind
371381 value : task
372382 resolver : bundles
@@ -399,7 +409,7 @@ spec:
399409 - name : name
400410 value : sast-snyk-check-oci-ta
401411 - name : bundle
402- value : quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4 @sha256:2ad986f28d0b724dabcf76c4de649f058f0e66998c7d2f61b66de46533bdbcad
412+ value : quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.5 @sha256:97231d2d0fb3a54ef6f653e5a355afe965674f8386cf3c8339c6704751c146b5
403413 - name : kind
404414 value : task
405415 resolver : bundles
@@ -421,7 +431,7 @@ spec:
421431 - name : name
422432 value : clamav-scan
423433 - name : bundle
424- value : quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:9f18b216ce71a66909e7cb17d9b34526c02d73cf12884ba32d1f10614f7b9f5a
434+ value : quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3.2 @sha256:90be6a6537578b35687ae3639970be0eb273dfc73dabe4039bdcb307c555c086
425435 - name : kind
426436 value : task
427437 resolver : bundles
@@ -518,7 +528,7 @@ spec:
518528 - name : name
519529 value : sast-shell-check-oci-ta
520530 - name : bundle
521- value : quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:c4ef47e3b4e0508572d266fb745be7e374c29dc02580328cbe9f4d472a8aca57
531+ value : quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:c06bee8d1655c153ef2b2234d44d824a5d613d54abf592b85702f81a73873bd0
522532 - name : kind
523533 value : task
524534 resolver : bundles
@@ -544,7 +554,7 @@ spec:
544554 - name : name
545555 value : sast-unicode-check-oci-ta
546556 - name : bundle
547- value : quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.4@sha256:0854d9261760b2dc8f092569739685a5ab0a5c620e9cb8c1b78fef9e2d077a29
557+ value : quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.4@sha256:6a7fbfac7f7a9f95a2881e388d14e18e4fd9aacaa6d4ade9370fbed2c87dc989
548558 - name : kind
549559 value : task
550560 resolver : bundles
@@ -566,7 +576,7 @@ spec:
566576 - name : name
567577 value : apply-tags
568578 - name : bundle
569- value : quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.3@sha256:aa62b41861c09e2e59c69cc6e9a1f740bf0c81e6a1eb03f57f59dfda0f65840e
579+ value : quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.3@sha256:2dae3c4beaf1070db565c536bc997e93925ae8c0c45dd8da9b4ae5293fd8c592
570580 - name : kind
571581 value : task
572582 resolver : bundles
@@ -589,7 +599,7 @@ spec:
589599 - name : name
590600 value : push-dockerfile-oci-ta
591601 - name : bundle
592- value : quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.3@sha256:1bc2d0f26b89259db090a47bb38217c82c05e335d626653d184adf1d196ca131
602+ value : quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.3.1 @sha256:393b4d0b530c2657b3ff6fec714781f4938b95b699dea2b369442b7664e1cce2
593603 - name : kind
594604 value : task
595605 resolver : bundles
@@ -606,7 +616,7 @@ spec:
606616 - name : name
607617 value : rpms-signature-scan
608618 - name : bundle
609- value : quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:7f2e8ed5c2d8b2433cc9a7779ce7c617de7eb0dc8f16d07d2a792cee816ed503
619+ value : quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2.2 @sha256:f110c53fd58cab7ac6e47d472bb801d49e2f584eb31837db9d611e11b3862a3d
610620 - name : kind
611621 value : task
612622 resolver : bundles
0 commit comments