support for new env plugin
This commit is contained in:
@@ -17,6 +17,7 @@ import (
|
||||
"github.com/drone-runners/drone-runner-docker/engine/resource"
|
||||
"github.com/drone/envsubst"
|
||||
"github.com/drone/runner-go/environ"
|
||||
"github.com/drone/runner-go/environ/provider"
|
||||
"github.com/drone/runner-go/manifest"
|
||||
"github.com/drone/runner-go/registry"
|
||||
"github.com/drone/runner-go/secret"
|
||||
@@ -97,7 +98,7 @@ func (c *compileCommand) 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