fix #2 - add support for an array of 'Runs'

This commit is contained in:
Casey Lee
2019-01-15 09:57:36 -08:00
parent 44e21b102e
commit 2b471fbff0
5 changed files with 35 additions and 15 deletions

View File

@@ -216,6 +216,7 @@ func (action *actionDef) asExecutor(ctx context.Context, dryrun bool, workingDir
executors = append(executors, container.NewDockerRunExecutor(container.NewDockerRunExecutorInput{
DockerExecutorInput: in,
Cmd: action.Args,
Entrypoint: action.Runs,
Image: image,
WorkingDir: "/github/workspace",
Env: env,