diff --git a/pkg/konfluxgen/pipeline-run.template.yaml b/pkg/konfluxgen/pipeline-run.template.yaml index e7c9fb27..2d4821dd 100644 --- a/pkg/konfluxgen/pipeline-run.template.yaml +++ b/pkg/konfluxgen/pipeline-run.template.yaml @@ -26,6 +26,10 @@ spec: - name: dockerfile value: {{{ .ProjectDirectoryImageBuildStepConfiguration.ProjectDirectoryImageBuildInputs.DockerfilePath }}} {{{- end }}} + {{{- if .ProjectDirectoryImageBuildStepConfiguration.ProjectDirectoryImageBuildInputs.ContextDir }}} + - name: path-context + value: {{{ .ProjectDirectoryImageBuildStepConfiguration.ProjectDirectoryImageBuildInputs.ContextDir }}} + {{{- end }}} {{{- if gt (len .BuildArgs) 0 }}} - name: build-args value: