Skip to content

Commit fe26176

Browse files
author
serverless-qe
committed
[release-v1.16] Sync Konflux configurations
1 parent df97e91 commit fe26176

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.tekton/docker-build.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apiVersion: tekton.dev/v1
22
kind: Pipeline
33
metadata:
4-
creationTimestamp: null
54
labels:
65
pipelines.openshift.io/runtime: generic
76
pipelines.openshift.io/strategy: docker
@@ -89,6 +88,9 @@ spec:
8988
oci or docker.
9089
name: buildah-format
9190
type: string
91+
- default: "false"
92+
description: Enable cache proxy configuration
93+
name: enable-cache-proxy
9294
- default: []
9395
description: Array of --build-arg values ("arg=value" strings) for buildah
9496
name: build-args
@@ -199,6 +201,8 @@ spec:
199201
value: $(params.rebuild)
200202
- name: skip-checks
201203
value: $(params.skip-checks)
204+
- name: enable-cache-proxy
205+
value: $(params.enable-cache-proxy)
202206
taskRef:
203207
params:
204208
- name: name
@@ -269,6 +273,10 @@ spec:
269273
value: $(tasks.clone-repository.results.url)
270274
- name: BUILDAH_FORMAT
271275
value: $(params.buildah-format)
276+
- name: HTTP_PROXY
277+
value: $(tasks.init.results.http-proxy)
278+
- name: NO_PROXY
279+
value: $(tasks.init.results.no-proxy)
272280
- name: SOURCE_ARTIFACT
273281
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
274282
- name: CACHI2_ARTIFACT

0 commit comments

Comments
 (0)