diff --git a/.goreleaser.yml b/.goreleaser.yml index 4632061..63891a3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,6 +18,8 @@ builds: id: "steampipe" binary: "{{ .ProjectName }}.plugin" + flags: + - -tags=netgo archives: - format: gz diff --git a/Makefile b/Makefile index 60486a2..20b0784 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ - +STEAMPIPE_INSTALL_DIR ?= ~/.steampipe +BUILD_TAGS = netgo install: - go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/googledirectory@latest/steampipe-plugin-googledirectory.plugin *.go + go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/googledirectory@latest/steampipe-plugin-googledirectory.plugin -tags "${BUILD_TAGS}" *.go