mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-16 02:19:05 +00:00
Allow admins to specify priviledged plugins by name **and tag** (#4075)
previous the tags where ignored, now we respect them if set
This commit is contained in:
@@ -138,7 +138,7 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
|
||||
environment[requested] = secretValue
|
||||
}
|
||||
|
||||
if utils.MatchImage(container.Image, c.escalated...) && container.IsPlugin() {
|
||||
if utils.MatchImageDynamic(container.Image, c.escalated...) && container.IsPlugin() {
|
||||
privileged = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user