mirror of
https://github.com/danderson/netboot.git
synced 2025-10-17 10:31:28 +02:00
Correct the deploy commands to also use modules.
This commit is contained in:
parent
0576bf8116
commit
307b9f6ccf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user