You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Do not set Pod's Image pull policy if not explicitly set (#1914)
This commit is contained in:
@@ -44,7 +44,7 @@ func Pod(namespace string, step *types.Step, labels, annotations map[string]stri
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pullPolicy := v1.PullIfNotPresent
|
var pullPolicy v1.PullPolicy
|
||||||
if step.Pull {
|
if step.Pull {
|
||||||
pullPolicy = v1.PullAlways
|
pullPolicy = v1.PullAlways
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user