diff --git a/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-default.yaml b/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-default.yaml index 84a571a3..99dc0713 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-default.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-default.yaml @@ -108,6 +108,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-edp.yaml b/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-edp.yaml index 47260446..c618bf40 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-edp.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gerrit-build-edp.yaml @@ -119,6 +119,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/gerrit-review.yaml b/charts/pipelines-library/templates/pipelines/csharp/gerrit-review.yaml index 06dcac37..b455599b 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gerrit-review.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gerrit-review.yaml @@ -73,6 +73,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source - name: dockerfile-lint taskRef: diff --git a/charts/pipelines-library/templates/pipelines/csharp/github-build-default.yaml b/charts/pipelines-library/templates/pipelines/csharp/github-build-default.yaml index 0cb4890b..90865bd4 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/github-build-default.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/github-build-default.yaml @@ -102,6 +102,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/github-build-edp.yaml b/charts/pipelines-library/templates/pipelines/csharp/github-build-edp.yaml index fbee914d..0db55186 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/github-build-edp.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/github-build-edp.yaml @@ -113,6 +113,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/github-review.yaml b/charts/pipelines-library/templates/pipelines/csharp/github-review.yaml index b68dd10d..abff7e64 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/github-review.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/github-review.yaml @@ -112,6 +112,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source - name: dockerfile-lint taskRef: diff --git a/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-default.yaml b/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-default.yaml index a2f28f65..97ba8b2a 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-default.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-default.yaml @@ -102,6 +102,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-edp.yaml b/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-edp.yaml index ee357dc9..0168804a 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-edp.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gitlab-build-edp.yaml @@ -113,6 +113,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source {{- include "build-pipeline-dotnet-image-build-push-common" $ | nindent 4 }} diff --git a/charts/pipelines-library/templates/pipelines/csharp/gitlab-review.yaml b/charts/pipelines-library/templates/pipelines/csharp/gitlab-review.yaml index 0894f10d..524748cd 100644 --- a/charts/pipelines-library/templates/pipelines/csharp/gitlab-review.yaml +++ b/charts/pipelines-library/templates/pipelines/csharp/gitlab-review.yaml @@ -109,6 +109,7 @@ spec: workspaces: - name: source workspace: shared-workspace + subPath: source - name: dockerfile-lint taskRef: