Commit 4dc61e67 authored by Chris O'Haver's avatar Chris O'Haver Committed by Miek Gieben

fix docker build (#673)

parent fe725f49
...@@ -90,7 +90,7 @@ upload: ...@@ -90,7 +90,7 @@ upload:
gh-release create $(GITHUB)/$(NAME) $(VERSION) gh-release create $(GITHUB)/$(NAME) $(VERSION)
.PHONY: docker-build .PHONY: docker-build
docker: docker-build:
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w"
docker build -t $(DOCKER_IMAGE_NAME) . docker build -t $(DOCKER_IMAGE_NAME) .
docker tag $(DOCKER_IMAGE_NAME):latest $(DOCKER_IMAGE_NAME):$(VERSION) docker tag $(DOCKER_IMAGE_NAME):latest $(DOCKER_IMAGE_NAME):$(VERSION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment