From cfe4323d564f4856acc739dbf977856b75111f99 Mon Sep 17 00:00:00 2001 From: anmol372 Date: Tue, 15 Dec 2020 12:47:00 -0500 Subject: [PATCH] Added default Dockerfile path to end of command --- Makefile | 2 +- pkg/plugins/v1/scaffolds/internal/templates/makefile.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7d886af9..42702f69 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes $(GOLANGCI_LINT) run --fix # Build the docker image docker-build: - docker build . -t quay.io/joelanford/helm-operator:$(VERSION) + docker build -t quay.io/joelanford/helm-operator:$(VERSION) . # Push the docker image docker-push: diff --git a/pkg/plugins/v1/scaffolds/internal/templates/makefile.go b/pkg/plugins/v1/scaffolds/internal/templates/makefile.go index d5dafb5c..8fab0bfe 100644 --- a/pkg/plugins/v1/scaffolds/internal/templates/makefile.go +++ b/pkg/plugins/v1/scaffolds/internal/templates/makefile.go @@ -95,7 +95,7 @@ undeploy: kustomize # Build the docker image docker-build: - docker build . -t ${IMG} + docker build -t ${IMG} . # Push the docker image docker-push: