Skip to content

Commit 9786f88

Browse files
author
serverless-qe
committed
[release-v1.21] Sync Konflux configurations
1 parent 8c1473e commit 9786f88

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.tekton/docker-build.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,22 @@ spec:
108108
VMs
109109
name: privileged-nested
110110
type: string
111+
- default: ""
112+
description: Sets the image created time and the SOURCE_DATE_EPOCH build argument.
113+
On its own, it does not change file timestamps inside the layers (set rewrite-timestamp
114+
to "true" for that). Leave empty to keep the actual build time.
115+
name: source-date-epoch
116+
type: string
117+
- default: "false"
118+
description: When "true", clamp file modification times in the image layers to
119+
at most source-date-epoch. Does nothing unless source-date-epoch is set.
120+
name: rewrite-timestamp
121+
type: string
122+
- default: "false"
123+
description: When "true", omit the build history (history timestamps, layer metadata,
124+
etc.) from the resulting image.
125+
name: omit-history
126+
type: string
111127
results:
112128
- description: ""
113129
name: IMAGE_URL
@@ -274,6 +290,12 @@ spec:
274290
value: $(tasks.init.results.http-proxy)
275291
- name: NO_PROXY
276292
value: $(tasks.init.results.no-proxy)
293+
- name: SOURCE_DATE_EPOCH
294+
value: $(params.source-date-epoch)
295+
- name: REWRITE_TIMESTAMP
296+
value: $(params.rewrite-timestamp)
297+
- name: OMIT_HISTORY
298+
value: $(params.omit-history)
277299
- name: SOURCE_ARTIFACT
278300
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
279301
- name: CACHI2_ARTIFACT

0 commit comments

Comments
 (0)