mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-07 07:40:29 +00:00
1 parent
37f5b7f4a2
commit
bc17371017
2 files changed
+12
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user