Fix idention in docker-build

This commit is contained in:
Kwitsch 2022-10-22 00:26:20 +02:00
parent 3a525aad6a
commit c1da8c0c82
1 changed files with 5 additions and 3 deletions

View File

@ -70,11 +70,13 @@ fmt: ## gofmt and goimports all go files
docker-build: ## Build docker image
go generate ./...
docker buildx \
build -o type=docker \
docker buildx build \
--build-arg VERSION=${VERSION} \
--build-arg BUILD_TIME=${BUILD_TIME} \
--network=host -t ${DOCKER_IMAGE_NAME} .
--network=host \
-o type=docker \
-t ${DOCKER_IMAGE_NAME} \
.
help: ## Shows help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'