mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
parent
901315625b
commit
d59bc64823
1 changed files with 4 additions and 3 deletions
|
@ -179,9 +179,10 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er
|
||||||
cloneSettings["tags"] = "true"
|
cloneSettings["tags"] = "true"
|
||||||
}
|
}
|
||||||
container := &yaml_types.Container{
|
container := &yaml_types.Container{
|
||||||
Name: defaultCloneName,
|
Name: defaultCloneName,
|
||||||
Image: cloneImage,
|
Image: cloneImage,
|
||||||
Settings: cloneSettings,
|
Settings: cloneSettings,
|
||||||
|
Environment: map[string]any{},
|
||||||
}
|
}
|
||||||
for k, v := range c.cloneEnv {
|
for k, v := range c.cloneEnv {
|
||||||
container.Environment[k] = v
|
container.Environment[k] = v
|
||||||
|
|
Loading…
Reference in a new issue