Yet another attempt to fix finicky CI.

This commit is contained in:
David Anderson 2019-01-22 21:12:07 -08:00
parent 307b9f6ccf
commit 9d7066245c

View File

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