support for new env plugin
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
"github.com/drone/drone-go/drone"
|
||||
"github.com/drone/envsubst"
|
||||
"github.com/drone/runner-go/environ"
|
||||
"github.com/drone/runner-go/environ/provider"
|
||||
"github.com/drone/runner-go/logger"
|
||||
"github.com/drone/runner-go/manifest"
|
||||
"github.com/drone/runner-go/pipeline"
|
||||
@@ -117,7 +118,7 @@ func (c *execCommand) run(*kingpin.ParseContext) error {
|
||||
|
||||
// compile the pipeline to an intermediate representation.
|
||||
comp := &compiler.Compiler{
|
||||
Environ: c.Environ,
|
||||
Environ: provider.Static(c.Environ),
|
||||
Labels: c.Labels,
|
||||
Resources: c.Resources,
|
||||
Privileged: append(c.Privileged, compiler.Privileged...),
|
||||
|
||||
Reference in New Issue
Block a user