diff --git a/internal/runner/runner.go b/internal/runner/runner.go index d07c7f7..4c307bc 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -135,8 +135,8 @@ func (r *Runner) RunJobInContainer(imageUri string, containerId string, job work for _, step := range job.Steps { logger.Info("Run: %s", step.Run) - if err := r.RunCommandInContainer(containerId, step.Run); err != nil { - return err + if step.Run != "" { + return r.RunCommandInContainer(containerId, step.Run) } }