mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
Merge pull request #1894 from gravitl/gra-851-nmctl-workflow
prevent libc errors by building static binary
This commit is contained in:
commit
735901d988
1 changed files with 4 additions and 4 deletions
8
.github/workflows/buildandrelease.yml
vendored
8
.github/workflows/buildandrelease.yml
vendored
|
@ -83,10 +83,10 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd cli
|
cd cli
|
||||||
GOOS=linux GOARCH=amd64 go build -o nmctl-linux-amd64
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o nmctl-linux-amd64
|
||||||
GOOS=darwin GOARCH=amd64 go build -o nmctl-darwin-amd64
|
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o nmctl-darwin-amd64
|
||||||
GOOS=darwin GOARCH=arm64 go build -o nmctl-darwin-arm64
|
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o nmctl-darwin-arm64
|
||||||
GOOS=windows GOARCH=amd64 go build -o nmctl-windows-amd64
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o nmctl-windows-amd64
|
||||||
- name: Upload nmctl-linux-amd64 to Release
|
- name: Upload nmctl-linux-amd64 to Release
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
Loading…
Reference in a new issue