1
0
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:
6543 2022-06-16 23:11:27 +02:00
parent 06f869beb3
commit 9449b67da9
No known key found for this signature in database
GPG Key ID: C99B82E40B027BAE

View File

@ -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,