Skip to content

Commit

Permalink
Use new Dockerfile name for build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Duchesne committed Dec 4, 2018
1 parent 0e364fc commit 5b45392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Example:

```bash
> tgf --current-version
tgf v1.18.0
tgf v1.18.1
```

Returns the current version of the tgf tool
Expand Down
2 changes: 1 addition & 1 deletion docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func getImage() (name string) {

name = name + "-" + ib.GetTag()
if refresh || getActualImageVersionInternal(name) == "" {
args := []string{"build", ".", "--quiet", "--force-rm"}
args := []string{"build", ".", "-f", dockerfilePattern, "--quiet", "--force-rm"}
if i == 0 && refresh && !useLocalImage {
args = append(args, "--pull")
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

// Version is initialized at build time through -ldflags "-X main.Version=<version number>"
var version = "1.18.0"
var version = "1.18.1"

var description = `
DESCRIPTION:
Expand Down

0 comments on commit 5b45392

Please sign in to comment.