Use new template lib

This commit is contained in:
Thomas Boerger
2018-04-15 01:28:44 +02:00
parent d5e2e58801
commit 46a67c3a0c
4 changed files with 27 additions and 148 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import (
"log"
"strings"
"github.com/drone/drone-template-lib/template"
"github.com/drone-plugins/drone-manifest/command"
)
@@ -72,7 +73,7 @@ func (p *Plugin) Exec() error {
}
if p.Config.Spec != "" {
spec, err := RenderTrim(p.Config.Spec, p)
spec, err := template.RenderTrim(p.Config.Spec, p)
if err != nil {
return err