Fixes #220, uses FN_REGISTRY and --registry flag on push and deploy. Also, cleanup.

This commit is contained in:
Travis Reeder
2017-08-18 16:27:11 -07:00
parent d773db51d4
commit d3f349804e
16 changed files with 192 additions and 187 deletions

View File

@@ -176,7 +176,7 @@ func runff(ff *funcfile, stdin io.Reader, stdout, stderr io.Writer, method strin
stdin = strings.NewReader(body)
}
sh = append(sh, ff.FullName())
sh = append(sh, ff.ImageName())
cmd := exec.Command(sh[0], sh[1:]...)
cmd.Stdin = stdin
cmd.Stdout = stdout