Allow to change the working directory also plugins and services (#3914)

This commit is contained in:
6543 2024-07-17 16:02:38 -07:00 committed by GitHub
parent 059cb93d06
commit e39345688d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,9 +84,7 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
detached = true
}
if !detached || len(container.Commands) != 0 {
workingDir = c.stepWorkingDir(container)
}
workingDir = c.stepWorkingDir(container)
getSecretValue := func(name string) (string, error) {
name = strings.ToLower(name)