From 5df4e2daa4c1ab699ef082b1e73034169f279fa6 Mon Sep 17 00:00:00 2001 From: Adam Cmiel Date: Mon, 17 Jun 2024 13:57:51 +0200 Subject: [PATCH] pipelines/*: pass netrc workspace to prefetch task In the PipelineRun template, the users are going to pass the workspace with something like this workspaces: - name: netrc secret: secretName: my-netrc Signed-off-by: Adam Cmiel --- pipelines/template-build/template-build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipelines/template-build/template-build.yaml b/pipelines/template-build/template-build.yaml index 41d79b7d4e..bacfe2e719 100644 --- a/pipelines/template-build/template-build.yaml +++ b/pipelines/template-build/template-build.yaml @@ -103,6 +103,8 @@ spec: workspace: workspace - name: git-basic-auth workspace: git-auth + - name: netrc + workspace: netrc - name: build-container when: - input: $(tasks.init.results.build) @@ -276,3 +278,5 @@ spec: - name: workspace - name: git-auth optional: true + - name: netrc + optional: true