mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
parent
d81cabd4b9
commit
8c7c1741d8
2 changed files with 12 additions and 1 deletions
|
@ -505,7 +505,7 @@ func (cr *containerReference) extractEnv(srcPath string, env *map[string]string)
|
|||
// SOME_VAR=data=moredata
|
||||
// SOME_VAR=datamoredata
|
||||
singleLineEnvPattern = regexp.MustCompile(`^([^=]*)\=(.*)$`)
|
||||
multiLineEnvPattern = regexp.MustCompile(`^([^<]+)<<(\w+)$`)
|
||||
multiLineEnvPattern = regexp.MustCompile(`^([^<]+)<<([\w-]+)$`)
|
||||
}
|
||||
|
||||
localEnv := *env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue