Skip to content

Commit

Permalink
Updated the .goreleaser and Makefile files to build build the plugin …
Browse files Browse the repository at this point in the history
…using the netgo package
  • Loading branch information
misraved committed Sep 17, 2024
1 parent 3382620 commit 17b9eae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ builds:

id: "steampipe"
binary: "{{ .ProjectName }}.plugin"
flags:
- -tags=netgo

archives:
- format: gz
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
BUILD_TAGS = netgo

install:
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/okta@latest/steampipe-plugin-okta.plugin *.go
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/okta@latest/steampipe-plugin-okta.plugin -tags "${BUILD_TAGS}" *.go

0 comments on commit 17b9eae

Please sign in to comment.