From 5b45392164a895a52f293f88cbccdc8c635f21ef Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Tue, 4 Dec 2018 07:55:51 -0500 Subject: [PATCH] Use new Dockerfile name for build command --- README.md | 2 +- docker.go | 2 +- main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9672e714..2b2a0a08 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker.go b/docker.go index 49481067..6f337f86 100644 --- a/docker.go +++ b/docker.go @@ -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") } diff --git a/main.go b/main.go index 03c12317..3003e126 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( ) // Version is initialized at build time through -ldflags "-X main.Version=" -var version = "1.18.0" +var version = "1.18.1" var description = ` DESCRIPTION: