42
42
path-context
43
43
name : dockerfile
44
44
type : string
45
+ - default : " Dockerfile.front.downstream"
46
+ description : Path to the frontend Dockerfile inside the context specified by parameter
47
+ path-context
48
+ name : front-dockerfile
49
+ type : string
45
50
- default : " false"
46
51
description : Force rebuild image
47
52
name : rebuild
@@ -173,6 +178,52 @@ spec:
173
178
workspace : git-auth
174
179
- name : netrc
175
180
workspace : netrc
181
+ - name : build-front-container
182
+ params :
183
+ - name : IMAGE
184
+ value : " $(params.output-image)-front"
185
+ - name : DOCKERFILE
186
+ value : $(params.front-dockerfile)
187
+ - name : CONTEXT
188
+ value : $(params.path-context)
189
+ - name : HERMETIC
190
+ value : $(params.hermetic)
191
+ - name : PREFETCH_INPUT
192
+ value : $(params.prefetch-input)
193
+ - name : IMAGE_EXPIRES_AFTER
194
+ value : $(params.image-expires-after)
195
+ - name : COMMIT_SHA
196
+ value : $(tasks.clone-repository.results.commit)
197
+ - name : BUILD_ARGS
198
+ value :
199
+ - $(params.build-args[*])
200
+ - " COMMIT=$(tasks.clone-repository.results.commit)"
201
+ - " BUILDVERSION=$(params.build-version)"
202
+ - " DATE=$(tasks.clone-repository.results.commit-timestamp)"
203
+ - name : BUILD_ARGS_FILE
204
+ value : $(params.build-args-file)
205
+ - name : SOURCE_ARTIFACT
206
+ value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
207
+ - name : CACHI2_ARTIFACT
208
+ value : $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
209
+ - name : PLATFORM
210
+ value : " linux/x86_64"
211
+ runAfter :
212
+ - prefetch-dependencies
213
+ taskRef :
214
+ params :
215
+ - name : name
216
+ value : buildah-remote-oci-ta
217
+ - name : bundle
218
+ value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.3@sha256:3070ee1a75e9a5a0a082008e1f9b3d2df7a9508ca107678b2613dc201eb2e279
219
+ - name : kind
220
+ value : task
221
+ resolver : bundles
222
+ when :
223
+ - input : $(tasks.init.results.build)
224
+ operator : in
225
+ values :
226
+ - " true"
176
227
- name : build-container
177
228
matrix :
178
229
params :
@@ -200,6 +251,7 @@ spec:
200
251
- " COMMIT=$(tasks.clone-repository.results.commit)"
201
252
- " BUILDVERSION=$(params.build-version)"
202
253
- " DATE=$(tasks.clone-repository.results.commit-timestamp)"
254
+ - " FRONTBUILD=$(params.output-image)-front"
203
255
- name : BUILD_ARGS_FILE
204
256
value : $(params.build-args-file)
205
257
- name : SOURCE_ARTIFACT
@@ -210,6 +262,7 @@ spec:
210
262
value : " true"
211
263
runAfter :
212
264
- prefetch-dependencies
265
+ - build-front-container
213
266
taskRef :
214
267
params :
215
268
- name : name
0 commit comments