Skip to content

Commit

Permalink
Use path-context param in pipeline when specified
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Oct 15, 2024
1 parent 290ba27 commit 4173b0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/konfluxgen/pipeline-run.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4173b0d

Please sign in to comment.