Skip to content

Commit

Permalink
fixed tar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Keil committed Feb 2, 2018
1 parent 7006594 commit 65d1671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd-build.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (c *buildCmd) run() error {
}

// Tar the working directory to send to the docker API
tarfileName, err := TarWorkdir(directory)
tarfileName, err := TarWorkdir(c.workdir)
check(err)
tarfile, err := os.Open(tarfileName)
check(err)
Expand Down

0 comments on commit 65d1671

Please sign in to comment.