Skip to content

Commit d972955

Browse files
committed
Add build image parameter to buildah-oci-ta.
1 parent 46df86a commit d972955

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

deploy/tasks/buildah-oci-ta.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ spec:
131131
description: The name of the ConfigMap to read CA bundle data from.
132132
type: string
133133
default: trusted-ca
134+
- name: BUILD_IMAGE
135+
description: The buildah image to use.
136+
type: string
137+
default: quay.io/konflux-ci/buildah-task:latest@sha256:5cbd487022fb7ac476cbfdea25513b810f7e343ec48f89dc6a4e8c3c39fa37a2
134138
results:
135139
- name: IMAGE_DIGEST
136140
description: Digest of the image just built
@@ -229,7 +233,7 @@ spec:
229233
- $(params.SOURCE_ARTIFACT)=/var/workdir/source
230234
- $(params.CACHI2_ARTIFACT)=/var/workdir/cachi2
231235
- name: build
232-
image: $(params.JVM_BUILD_SERVICE_DOMAIN_PROXY_IMAGE)
236+
image: $(params.BUILD_IMAGE)
233237
args:
234238
- --build-args
235239
- $(params.BUILD_ARGS[*])

pkg/reconciler/dependencybuild/buildrecipeyaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func createPipelineSpec(log logr.Logger, tool string, commitTime int64, jbsConfi
524524
},
525525
},
526526
{
527-
Name: "JVM_BUILD_SERVICE_DOMAIN_PROXY_IMAGE",
527+
Name: "BUILD_IMAGE",
528528
Value: tektonpipeline.ParamValue{
529529
Type: tektonpipeline.ParamTypeString,
530530
StringVal: domainProxyImage,

0 commit comments

Comments
 (0)