mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +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"
|
||||
}
|
||||
container := &yaml_types.Container{
|
||||
Name: defaultCloneName,
|
||||
Image: cloneImage,
|
||||
Settings: cloneSettings,
|
||||
Name: defaultCloneName,
|
||||
Image: cloneImage,
|
||||
Settings: cloneSettings,
|
||||
Environment: map[string]any{},
|
||||
}
|
||||
for k, v := range c.cloneEnv {
|
||||
container.Environment[k] = v
|
||||
|
|
Loading…
Reference in a new issue