@@ -106,10 +106,6 @@ spec:
106106 VMs
107107 name : privileged-nested
108108 type : string
109- - default : " sources/argocd-agent/install/helm-repo/argocd-agent-agent"
110- description : directory where the chart is stored
111- name : chart-context
112- type : string
113109 results :
114110 - description : " "
115111 name : IMAGE_URL
@@ -198,21 +194,6 @@ spec:
198194 workspace : git-auth
199195 - name : netrc
200196 workspace : netrc
201- # - name: update-digest-for-helm
202- # taskRef:
203- # name: update-digest-for-helm
204- # params:
205- # - name: CHART_CONTEXT
206- # value: $(params.chart-context)
207- # description: Directory where helm chart resources are stored
208- # - name: SOURCE_ARTIFACT
209- # type: string
210- # value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
211- # description: The Trusted Artifact URI pointing to the artifact with the application source code.
212- # - name: RELEASE_BRANCH
213- # value: '{{target_branch}}'
214- # runAfter:
215- # - prefetch-dependencies
216197 - name : build-helm-chart
217198 params :
218199 - name : CHART_CONTEXT
@@ -250,10 +231,6 @@ spec:
250231 operator : in
251232 values :
252233 - " true"
253- - input : $(params.build-source-image)
254- operator : in
255- values :
256- - " true"
257234 - name : build-image-index
258235 params :
259236 - name : IMAGE
@@ -283,6 +260,36 @@ spec:
283260 operator : in
284261 values :
285262 - " true"
263+ - name : build-source-image
264+ params :
265+ - name : BINARY_IMAGE
266+ value : $(tasks.build-image-index.results.IMAGE_URL)
267+ - name : BINARY_IMAGE_DIGEST
268+ value : $(tasks.build-image-index.results.IMAGE_DIGEST)
269+ - name : SOURCE_ARTIFACT
270+ value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
271+ - name : CACHI2_ARTIFACT
272+ value : $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
273+ runAfter :
274+ - build-image-index
275+ taskRef :
276+ params :
277+ - name : name
278+ value : source-build-oci-ta
279+ - name : bundle
280+ value : quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b0d6cb28a23f20db4f5cf78ed78ae3a91b9a5adfe989696ed0bbc63840a485b6
281+ - name : kind
282+ value : task
283+ resolver : bundles
284+ when :
285+ - input : $(tasks.init.results.build)
286+ operator : in
287+ values :
288+ - " true"
289+ - input : $(params.build-source-image)
290+ operator : in
291+ values :
292+ - " true"
286293 - name : deprecated-base-image-check
287294 params :
288295 - name : IMAGE_URL
@@ -586,4 +593,4 @@ spec:
586593 - name : git-auth
587594 secret :
588595 secretName : ' {{ git_auth_secret }}'
589- status : {}
596+ status : {}
0 commit comments