Improve Makefile
This commit is contained in:
parent
d6a34b7b84
commit
c5b29b7a11
4
Makefile
4
Makefile
|
|
@ -96,7 +96,7 @@ go-dependencies: ## Ensure build dependencies
|
||||||
go mod vendor -v
|
go mod vendor -v
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(NAME) ## Builds a dynamic executable or package
|
build: deepcopy-gen $(NAME) ## Builds a dynamic executable or package
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
|
|
||||||
.PHONY: $(NAME)
|
.PHONY: $(NAME)
|
||||||
|
|
@ -267,7 +267,7 @@ docker-login: ## Log in into the Docker repository
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
|
|
||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
docker-build: check-env build ## Build the container
|
docker-build: build check-env build ## Build the container
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
docker build . -t $(DOCKER_REGISTRY):$(GITCOMMIT) --file build/Dockerfile
|
docker build . -t $(DOCKER_REGISTRY):$(GITCOMMIT) --file build/Dockerfile
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue