mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-05-20 17:28:51 +00:00
fix regression from 81dcdea2be
(missmatch)
This commit is contained in:
parent
06f869beb3
commit
9449b67da9
|
@ -145,15 +145,8 @@ func (c *Compiler) createProcess(name string, container *yaml.Container, section
|
||||||
cpuSet = c.reslimit.CPUSet
|
cpuSet = c.reslimit.CPUSet
|
||||||
}
|
}
|
||||||
|
|
||||||
stepName := container.Name
|
|
||||||
if len(stepName) == 0 {
|
|
||||||
stepName = name
|
|
||||||
} else {
|
|
||||||
stepName = section + "." + stepName
|
|
||||||
}
|
|
||||||
|
|
||||||
return &backend.Step{
|
return &backend.Step{
|
||||||
Name: stepName,
|
Name: name,
|
||||||
Alias: container.Name,
|
Alias: container.Name,
|
||||||
Image: image,
|
Image: image,
|
||||||
Pull: container.Pull,
|
Pull: container.Pull,
|
||||||
|
|
Loading…
Reference in a new issue