mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
display error when commands for docker plugin
This commit is contained in:
parent
90af8ac414
commit
6d2c525064
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ func (a *Agent) prep(w *queue.Work) (*yaml.Config, error) {
|
||||||
transform.ImageTag(conf)
|
transform.ImageTag(conf)
|
||||||
transform.ImageName(conf)
|
transform.ImageName(conf)
|
||||||
transform.ImageNamespace(conf, a.Namespace)
|
transform.ImageNamespace(conf, a.Namespace)
|
||||||
transform.ImageEscalate(conf, a.Escalate)
|
if err := transform.ImageEscalate(conf, a.Escalate); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
transform.PluginParams(conf)
|
transform.PluginParams(conf)
|
||||||
|
|
||||||
if a.Local != "" {
|
if a.Local != "" {
|
||||||
|
|
Loading…
Reference in a new issue