Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit 2e657d9

Browse files
committed
fix(CI): fix build for static file without glibc
1 parent 842c524 commit 2e657d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ DRIVER_OUT_FILE=$(CURDIR)/build/$(POSTGRES_DRIVER_NAME)
4646
.PHONY: build
4747
build: # Build k6 module
4848
mkdir -p $(CURDIR)/build
49-
CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -v -o $(DRIVER_OUT_FILE) $(CURDIR)/cmd/postgres
49+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -v -o $(DRIVER_OUT_FILE) $(CURDIR)/cmd/postgres
5050

5151
branch=main
5252
.PHONY: revision

0 commit comments

Comments
 (0)