Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,22 @@ spec:
VMs
name: privileged-nested
type: string
- default: ""
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.
name: source-date-epoch
type: string
- default: "false"
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.
name: rewrite-timestamp
type: string
- default: "false"
description: When "true", omit the build history (history timestamps, layer metadata,
etc.) from the resulting image.
name: omit-history
type: string
results:
- description: ""
name: IMAGE_URL
Expand Down Expand Up @@ -274,6 +290,12 @@ spec:
value: $(tasks.init.results.http-proxy)
- name: NO_PROXY
value: $(tasks.init.results.no-proxy)
- name: SOURCE_DATE_EPOCH
value: $(params.source-date-epoch)
- name: REWRITE_TIMESTAMP
value: $(params.rewrite-timestamp)
- name: OMIT_HISTORY
value: $(params.omit-history)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
Expand Down
Loading