Skip to content

Commit c0902cd

Browse files
committed
fix(ci): static compile by disabling cgo
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent c402963 commit c0902cd

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
@@ -31,7 +31,7 @@ test: mod-tidy
3131
# Build our program binaries
3232
# Depends on GO_FILES to determine when rebuild is needed
3333
$(BINARIES): mod-tidy $(GO_FILES)
34-
go build \
34+
CGO_ENABLED=0 go build \
3535
$(GO_LDFLAGS) \
3636
-tags nodbus \
3737
-o $(@) \

0 commit comments

Comments
 (0)