diff --git a/pipelines/template-build/template-build.yaml b/pipelines/template-build/template-build.yaml index ab3fdcf58c..8b6a84652e 100644 --- a/pipelines/template-build/template-build.yaml +++ b/pipelines/template-build/template-build.yaml @@ -87,9 +87,8 @@ spec: workspace: git-auth - name: prefetch-dependencies when: - - input: $(params.hermetic) - operator: in - values: ["true"] + - cel: >- + '$(params.prefetch-input) != '' || '$(params.hermetic)' == 'true' params: - name: input value: $(params.prefetch-input)