Improve Makefile

This commit is contained in:
Tomasz Sęk 2019-06-27 22:53:25 +02:00
parent d6a34b7b84
commit c5b29b7a11
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
1 changed files with 2 additions and 2 deletions

View File

@ -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