mirror of https://github.com/0xERR0R/blocky.git
Fix idention in docker-build
This commit is contained in:
parent
3a525aad6a
commit
c1da8c0c82
8
Makefile
8
Makefile
|
@ -70,11 +70,13 @@ fmt: ## gofmt and goimports all go files
|
||||||
|
|
||||||
docker-build: ## Build docker image
|
docker-build: ## Build docker image
|
||||||
go generate ./...
|
go generate ./...
|
||||||
docker buildx \
|
docker buildx build \
|
||||||
build -o type=docker \
|
|
||||||
--build-arg VERSION=${VERSION} \
|
--build-arg VERSION=${VERSION} \
|
||||||
--build-arg BUILD_TIME=${BUILD_TIME} \
|
--build-arg BUILD_TIME=${BUILD_TIME} \
|
||||||
--network=host -t ${DOCKER_IMAGE_NAME} .
|
--network=host \
|
||||||
|
-o type=docker \
|
||||||
|
-t ${DOCKER_IMAGE_NAME} \
|
||||||
|
.
|
||||||
|
|
||||||
help: ## Shows help
|
help: ## Shows help
|
||||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||||
|
|
Loading…
Reference in New Issue