From 232427c582f6b16dc61de850ce26a139ddb9cfb8 Mon Sep 17 00:00:00 2001 From: Kunihiko Tanaka Date: Mon, 18 Sep 2017 02:10:36 +0900 Subject: [PATCH] Fixed docker push bug (#647) docker push had opposite args --- fn/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fn/common.go b/fn/common.go index 646f913c..0476da4c 100644 --- a/fn/common.go +++ b/fn/common.go @@ -203,7 +203,7 @@ func extractEnvConfig(configs []string) map[string]string { func dockerpush(ff *funcfile) error { latestTag := ff.Name + ":latest" - cmd := exec.Command("docker", "tag", latestTag, ff.FullName()) + cmd := exec.Command("docker", "tag", ff.FullName(), latestTag) cmd.Stderr = os.Stderr cmd.Stdout = os.Stdout if err := cmd.Run(); err != nil {