1212
1313 _Uses `buildah` to create a 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. 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.
1414 This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build-oci-ta?tab=tags)_
15- finally :
16- - name : show-sbom
17- params :
18- - name : IMAGE_URL
19- value : $(tasks.build-image-index.results.IMAGE_URL)
20- taskRef :
21- params :
22- - name : name
23- value : show-sbom
24- - name : bundle
25- value : quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:beb0616db051952b4b861dd8c3e00fa1c0eccbd926feddf71194d3bb3ace9ce7
26- - name : kind
27- value : task
28- resolver : bundles
2915 params :
3016 - description : Source Repository URL
3117 name : git-url
9884 default : docker
9985 type : string
10086 description : The format for the resulting image's mediaType. Valid values are oci or docker.
87+ - name : source-date-epoch
88+ type : string
89+ default : ' '
90+ 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.
91+ - name : rewrite-timestamp
92+ type : string
93+ default : ' false'
94+ 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.
95+ - name : omit-history
96+ type : string
97+ default : ' false'
98+ description : When "true", omit the build history (history timestamps, layer metadata, etc.) from the resulting image.
99+ - name : enable-package-registry-proxy
100+ default : ' true'
101+ description : Use the package registry proxy when prefetching dependencies
102+ type : string
101103 results :
102104 - description : " "
103105 name : IMAGE_URL
@@ -125,7 +127,7 @@ spec:
125127 - name : name
126128 value : init
127129 - name : bundle
128- value : quay.io/konflux-ci/tekton-catalog/task-init:0.2 @sha256:bbf313b09740fb39b3343bc69ee94b2a2c21d16a9304f9b7c111c305558fc346
130+ value : quay.io/konflux-ci/tekton-catalog/task-init:0.4.3 @sha256:4dbbfedc4edb21884fa2ad84521408d2fad090d4d34eb6c555992f8444eba40d
129131 - name : kind
130132 value : task
131133 resolver : bundles
@@ -146,7 +148,7 @@ spec:
146148 - name : name
147149 value : git-clone-oci-ta
148150 - name : bundle
149- value : quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1 @sha256:3a920a83fc0135aaae2730fe9d446eb2da2ffc9d63a34bceea04afd24653bdee
151+ value : quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.2.5 @sha256:437e4a29b0674420af96e497b6492d0408e59b97f98a35b84d2d32016503c2a0
150152 - name : kind
151153 value : task
152154 resolver : bundles
@@ -168,14 +170,16 @@ spec:
168170 value : $(params.output-image).prefetch
169171 - name : ociArtifactExpiresAfter
170172 value : $(params.image-expires-after)
173+ - name : enable-package-registry-proxy
174+ value : $(params.enable-package-registry-proxy)
171175 runAfter :
172176 - clone-repository
173177 taskRef :
174178 params :
175179 - name : name
176180 value : prefetch-dependencies-oci-ta
177181 - name : bundle
178- value : quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2 @sha256:970285e3b0495961199523b566e0dd92ec2e29bedbcf61d8fc67106b06d0f923
182+ value : quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.9.0 @sha256:4486aaa69770d6b27c59c8df7d82e450d95dab2302aef9b8a345f2ac0fabbab0
179183 - name : kind
180184 value : task
181185 resolver : bundles
@@ -220,14 +224,20 @@ spec:
220224 value : " true"
221225 - name : BUILDAH_FORMAT
222226 value : $(params.buildah-format)
227+ - name : SOURCE_DATE_EPOCH
228+ value : $(params.source-date-epoch)
229+ - name : REWRITE_TIMESTAMP
230+ value : $(params.rewrite-timestamp)
231+ - name : OMIT_HISTORY
232+ value : $(params.omit-history)
223233 runAfter :
224234 - prefetch-dependencies
225235 taskRef :
226236 params :
227237 - name : name
228238 value : buildah-remote-oci-ta
229239 - name : bundle
230- value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.6 @sha256:ac05dabe8b6b446f974cf2b6ef1079cfaa9443d7078c2ebe3ec79aa650e1b5b2
240+ value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.12.0 @sha256:227cf5b487cd2221301ea2fccf2334f41c0f5b21edb04696609245520b2d2691
231241 - name : kind
232242 value : task
233243 resolver : bundles
@@ -240,10 +250,6 @@ spec:
240250 params :
241251 - name : IMAGE
242252 value : $(params.output-image)
243- - name : COMMIT_SHA
244- value : $(tasks.clone-repository.results.commit)
245- - name : IMAGE_EXPIRES_AFTER
246- value : $(params.image-expires-after)
247253 - name : ALWAYS_BUILD_INDEX
248254 value : $(params.build-image-index)
249255 - name : IMAGES
@@ -258,7 +264,7 @@ spec:
258264 - name : name
259265 value : build-image-index
260266 - name : bundle
261- value : quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:d94cad7f41be61074dd21c7dff26dab9217c3435a16f62813c1cb8382dd9aae6
267+ value : quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.3. 1@sha256:714a86d454203804fe14e422b4ba8d775d9ec19e5b7922cedd55ef93a3bc9166
262268 - name : kind
263269 value : task
264270 resolver : bundles
@@ -284,7 +290,7 @@ spec:
284290 - name : name
285291 value : source-build-oci-ta
286292 - name : bundle
287- value : quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:2a290f91fdccf4c9ef726a1605163bc14904e1dbf9837ac6d2621caddd10f98e
293+ value : quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:c7ecd1e518007e31e19188333a17dd3558e222ce2e3b2a484a1e59ec069799cf
288294 - name : kind
289295 value : task
290296 resolver : bundles
@@ -310,7 +316,7 @@ spec:
310316 - name : name
311317 value : deprecated-image-check
312318 - name : bundle
313- value : quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:f59175d9a0a60411738228dfe568af4684af4aa5e7e05c832927cb917801d489
319+ value : quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:0ccc688a77e9b7b0b8973c132a1e840844137e77f887be4a0bec8893b0776872
314320 - name : kind
315321 value : task
316322 resolver : bundles
@@ -337,7 +343,7 @@ spec:
337343 - name : name
338344 value : clair-scan
339345 - name : bundle
340- value : quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.3@sha256:a7cc183967f89c4ac100d04ab8f81e54733beee60a0528208107c9a22d3c43af
346+ value : quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.3.2 @sha256:f5b4415db9ac1fba3e11d993a617e0b275d1f0ed2fc669b12c400ed848c39174
341347 - name : kind
342348 value : task
343349 resolver : bundles
@@ -357,7 +363,7 @@ spec:
357363 - name : name
358364 value : ecosystem-cert-preflight-checks
359365 - name : bundle
360- value : quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:9568c51a5158d534248908b9b561cf67d2826ed4ea164ffd95628bb42380e6ec
366+ value : quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:4619769705d4999e129b779d7699d89d33c47f7ab80d73ad6e3dcd8a6a4e43a7
361367 - name : kind
362368 value : task
363369 resolver : bundles
@@ -383,7 +389,7 @@ spec:
383389 - name : name
384390 value : sast-snyk-check-oci-ta
385391 - name : bundle
386- value : quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4 @sha256:181d63c126e3119a9d57b8feed4eb66a875b5208c3e90724c22758e65dca8733
392+ value : quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.5 @sha256:b78e9c05c5126613eddee53f2f3534a9b86bfca17d903599f2fa465b7938e241
387393 - name : kind
388394 value : task
389395 resolver : bundles
@@ -405,7 +411,7 @@ spec:
405411 - name : name
406412 value : clamav-scan
407413 - name : bundle
408- value : quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:b0bd59748cda4a7abf311e4f448e6c1d00c6b6d8c0ecc1c2eb33e08dc0e0b802
414+ value : quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3.1 @sha256:53a02326bfb930ca5ef6bfa7a33acca833d57752f34f3cb79255fe2e25e7d217
409415 - name : kind
410416 value : task
411417 resolver : bundles
@@ -450,7 +456,7 @@ spec:
450456 - name : name
451457 value : sast-coverity-check-oci-ta
452458 - name : bundle
453- value : quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:cdbe1a968676e4f5519b082bf1e27a4cdcf66dd60af66dbc26b3e604f957f7e9
459+ value : quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:e92d00ed858233d0096627861192d3e4fc013cf1559c0d0b0ea0657d3377ce75
454460 - name : kind
455461 value : task
456462 resolver : bundles
@@ -471,7 +477,7 @@ spec:
471477 - name : name
472478 value : coverity-availability-check
473479 - name : bundle
474- value : quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:db2b267dc15e4ed17f704ee91b8e9b38068e1a35b1018a328fdca621819d74c6
480+ value : quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:8b501440a960aec446db2ebc6625a49d0317a9fc7bf0f7bd9b18cb63052db7de
475481 - name : kind
476482 value : task
477483 resolver : bundles
@@ -497,7 +503,7 @@ spec:
497503 - name : name
498504 value : sast-shell-check-oci-ta
499505 - name : bundle
500- value : quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:f950c3cefcff91de751f4d24a297c3312a2b265dd54478193ba1330791976c35
506+ value : quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:beb05ae2fad733783b3b17e05871e0eaf527a07c904cf3fb2cb551025007eec1
501507 - name : kind
502508 value : task
503509 resolver : bundles
@@ -523,7 +529,7 @@ spec:
523529 - name : name
524530 value : sast-unicode-check-oci-ta
525531 - name : bundle
526- value : quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.3 @sha256:1cf8f6f6e991e1820cbebddaf9f38442a2ea5669956c9ffc2b7e4698ae7e99be
532+ value : quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.4 @sha256:d09f717cb84f0699a531773bc498745deef2c006a81918aa73b3be6d2f4778bd
527533 - name : kind
528534 value : task
529535 resolver : bundles
@@ -548,7 +554,7 @@ spec:
548554 - name : name
549555 value : apply-tags
550556 - name : bundle
551- value : quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2 @sha256:f44be1bf0262471f2f503f5e19da5f0628dcaf968c86272a2ad6b4871e708448
557+ value : quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.3 @sha256:f89a59d4d043fd3c545a9cb5e89b53396f1e04017c6f68da1e50626715c2d423
552558 - name : kind
553559 value : task
554560 resolver : bundles
@@ -571,7 +577,7 @@ spec:
571577 - name : name
572578 value : push-dockerfile-oci-ta
573579 - name : bundle
574- value : quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:14fba04580b236e4206a904b86ee2fd8eeaa4163f7619a9c2602d361e4f74c51
580+ value : quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.3. 1@sha256:ee041e2bdf5638faaca60baa171c3e13927097a0e69ed2172ccf1de5e5ee711a
575581 - name : kind
576582 value : task
577583 resolver : bundles
@@ -588,7 +594,7 @@ spec:
588594 - name : name
589595 value : rpms-signature-scan
590596 - name : bundle
591- value : quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:1b6c20ab3dbfb0972803d3ebcb2fa72642e59400c77bd66dfd82028bdd09e120
597+ value : quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2.1 @sha256:cc5133504ff03909ae970db81a986cb25a5532b2faf62a8ede5c60f28b716f54
592598 - name : kind
593599 value : task
594600 resolver : bundles
0 commit comments