mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
Pass settings to services (#4338)
This commit is contained in:
parent
5139401b53
commit
e13085b69f
@ -114,11 +114,8 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
|
||||
return secret.Value, nil
|
||||
}
|
||||
|
||||
// TODO: why don't we pass secrets to detached steps?
|
||||
if !detached {
|
||||
if err := settings.ParamsToEnv(container.Settings, environment, "PLUGIN_", true, getSecretValue); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := settings.ParamsToEnv(container.Settings, environment, "PLUGIN_", true, getSecretValue); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if err := settings.ParamsToEnv(container.Environment, environment, "", false, getSecretValue); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user