Skip to content

Commit e8757dc

Browse files
authored
Merge pull request #8 from kajahno/feature/add-amd64-target
Add target for amd64
2 parents 3991327 + 12f3736 commit e8757dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ docker-build:
1616
docker build -t $(DOCKER_IMAGE):${VERSION} .
1717

1818
release: clean deps
19-
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on go build $(LDFLAGS) -o $(BIN)_$(VERSION)_linux-amd64 $(SRC)
19+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build $(LDFLAGS) -o $(BIN)_$(VERSION)_linux-amd64 $(SRC)
20+
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on go build $(LDFLAGS) -o $(BIN)_$(VERSION)_linux-arm64 $(SRC)
2021
CGO_ENABLED=0 GOOS=linux GOARCH=arm GO111MODULE=on go build $(LDFLAGS) -o $(BIN)_$(VERSION)_linux-arm $(SRC)
2122
CGO_ENABLED=0 GOOS=freebsd GOARCH=386 GO111MODULE=on go build $(LDFLAGS) -o $(BIN)_$(VERSION)_freebsd-386 $(SRC)
2223

@@ -32,4 +33,4 @@ clean:
3233
deps:
3334
GO111MODULE=on go mod download
3435

35-
re: clean all
36+
re: clean all

0 commit comments

Comments
 (0)