mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 01:11:57 +01:00
Do not add all secrets to env but require using from_secret
This commit is contained in:
parent
08d5aeced7
commit
92d62d84d9
@ -85,7 +85,7 @@ var Command = cli.Command{
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "secret-file",
|
||||
Usage: "secret file",
|
||||
Usage: "secret file, define values that can be used with from_secret",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "env-file",
|
||||
@ -253,11 +253,6 @@ func exec(c *cli.Context) error {
|
||||
c.StringSlice("network"),
|
||||
),
|
||||
transform.WithProxy(),
|
||||
transform.WithEnviron(
|
||||
readParams(
|
||||
c.String("secret-file"),
|
||||
),
|
||||
),
|
||||
transform.WithSecrets(
|
||||
readParams(
|
||||
c.String("secret-file"),
|
||||
|
Loading…
Reference in New Issue
Block a user