Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavharness committed Feb 22, 2023
1 parent 38faae0 commit 0ae0d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/runtime/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func executeRunStep(ctx context.Context, engine *engine.Engine, r *api.StartStep
pluginOutputFile := fmt.Sprintf(pluginOutputfileFormat, pipeline.SharedVolPath, step.ID)

if isContainerlessPlugin(step.Image, step.Entrypoint) && len(step.Command) > 0 {
step.Command[0] += fmt.Sprintf(" -outputfile %s", pluginOutputFile)
step.Command = append(step.Command, "-outputfile", pluginOutputFile)
} else if len(r.OutputVars) > 0 {
step.Command[0] += getOutputVarCmd(step.Entrypoint, r.OutputVars, outputFile)
}
Expand Down

0 comments on commit 0ae0d94

Please sign in to comment.