Correct the deploy commands to also use modules.

This commit is contained in:
David Anderson 2019-01-22 21:07:19 -08:00
parent 0576bf8116
commit 307b9f6ccf

View File

@ -6,6 +6,7 @@ BINARY:=
TAG:=
REGISTRY:=
GOCMD:=go
GOMODULECMD:=GO111MODULE=on go
DOCKER_SUDO:=
GITCOMMIT:=
GITBRANCH:=
@ -56,7 +57,7 @@ dockerfile: build-dir
.PHONY: binary
binary: build-dir
CGO_ENABLED=0 GOOS=linux GOARCH=$(GOARCH) GOARM=6 \
$(GOCMD) build -o $(BUILD_DIR)/$(BINARY) \
$(GOMODULECMD) build -o $(BUILD_DIR)/$(BINARY) \
go.universe.tf/netboot/cmd/$(BINARY)
.PHONY: build-dir