mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
Allow to change the working directory also plugins and services (#3914)
This commit is contained in:
parent
059cb93d06
commit
e39345688d
@ -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 New Issue
Block a user