Skip to content

Commit

Permalink
Fixed docker push bug (#647)
Browse files Browse the repository at this point in the history
docker push had opposite args
  • Loading branch information
kunihiko-t authored and c0ze committed Sep 17, 2017
1 parent 0c3206d commit 232427c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fn/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 232427c

Please sign in to comment.