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 {