Skip to content

Commit

Permalink
fix: add steampipe plugin build
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 14, 2024
1 parent a489b36 commit fd2dad5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions steampipe-plugin-github/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
BUILD_TAGS = netgo

build:
GOPRIVATE="github.com/opengovern" CC=/usr/bin/musl-gcc GOPRIVATE="github.com/opengovern" GOOS=linux GOARCH=amd64 go build -v -ldflags "-linkmode external -extldflags '-static' -s -w" -o ./build/steampipe-plugin-github.plugin *.go


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

0 comments on commit fd2dad5

Please sign in to comment.