mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-07 18:08:48 +00:00
Allow to change the working directory also plugins and services (#3914)
This commit is contained in:
parent
059cb93d06
commit
e39345688d
1 changed files with 1 additions and 3 deletions
|
@ -84,9 +84,7 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
|
||||||
detached = true
|
detached = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if !detached || len(container.Commands) != 0 {
|
workingDir = c.stepWorkingDir(container)
|
||||||
workingDir = c.stepWorkingDir(container)
|
|
||||||
}
|
|
||||||
|
|
||||||
getSecretValue := func(name string) (string, error) {
|
getSecretValue := func(name string) (string, error) {
|
||||||
name = strings.ToLower(name)
|
name = strings.ToLower(name)
|
||||||
|
|
Loading…
Reference in a new issue