Skip to content

Commit 705d62b

Browse files
committed
Update Makefile and .goreleaser to include netgo package
1 parent acdfe9f commit 705d62b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ builds:
1818

1919
id: "steampipe"
2020
binary: "{{ .ProjectName }}.plugin"
21+
flags:
22+
- -tags=netgo
2123

2224
archives:
2325
- format: gz

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
2+
BUILD_TAGS = netgo
13
install:
2-
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/godaddy@latest/steampipe-plugin-godaddy.plugin *.go
4+
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/godaddy@latest/steampipe-plugin-godaddy.plugin -tags "${BUILD_TAGS}" *.go

0 commit comments

Comments
 (0)