mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
fix regression from 81dcdea2bee6f4d2adbe2083eced7a6f4176616c (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
|
||||
}
|
||||
|
||||
stepName := container.Name
|
||||
if len(stepName) == 0 {
|
||||
stepName = name
|
||||
} else {
|
||||
stepName = section + "." + stepName
|
||||
}
|
||||
|
||||
return &backend.Step{
|
||||
Name: stepName,
|
||||
Name: name,
|
||||
Alias: container.Name,
|
||||
Image: image,
|
||||
Pull: container.Pull,
|
||||
|
Loading…
x
Reference in New Issue
Block a user