From e9e7068917da4d1c30efecfb014db50e14a59a81 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Thu, 27 Sep 2018 09:22:02 -0400 Subject: [PATCH] set the version for the docker image when generating a new app (#1327) --- generators/newapp/new.go | 1 + 1 file changed, 1 insertion(+) diff --git a/generators/newapp/new.go b/generators/newapp/new.go index a7473c72c..ff3a07d15 100644 --- a/generators/newapp/new.go +++ b/generators/newapp/new.go @@ -132,6 +132,7 @@ func (a Generator) setupDocker(root string, data makr.Data) error { o := docker.New() o.App = a.App + data["version"] = runtime.Version if err := o.Run(root, data); err != nil { return errors.WithStack(err) }