Skip to content

Commit

Permalink
Build static binaries
Browse files Browse the repository at this point in the history
Dynamically linked binaries were causing issues in alpine containers

Signed-off-by: James Taylor <[email protected]>
  • Loading branch information
jt-nti committed May 19, 2022
1 parent cd1dfb2 commit 328b1f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:

- name: Package
run: |
go build -v ./cmd/build
go build -v ./cmd/detect
go build -v ./cmd/release
go build -v ./cmd/run
CGO_ENABLED=0 go build -v ./cmd/build
CGO_ENABLED=0 go build -v ./cmd/detect
CGO_ENABLED=0 go build -v ./cmd/release
CGO_ENABLED=0 go build -v ./cmd/run
tar -czvf fabric-builder-k8s-${RUNNER_OS}-${RUNNER_ARCH}.tgz build detect release run
- name: Release
Expand Down

0 comments on commit 328b1f7

Please sign in to comment.