From c5b29b7a11a53375cb085383f6c018cc9db753fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Thu, 27 Jun 2019 22:53:25 +0200 Subject: [PATCH] Improve Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a67a6e4f..79037f82 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ go-dependencies: ## Ensure build dependencies go mod vendor -v .PHONY: build -build: $(NAME) ## Builds a dynamic executable or package +build: deepcopy-gen $(NAME) ## Builds a dynamic executable or package @echo "+ $@" .PHONY: $(NAME) @@ -267,7 +267,7 @@ docker-login: ## Log in into the Docker repository @echo "+ $@" .PHONY: docker-build -docker-build: check-env build ## Build the container +docker-build: build check-env build ## Build the container @echo "+ $@" docker build . -t $(DOCKER_REGISTRY):$(GITCOMMIT) --file build/Dockerfile