Browse Source

disable cgo for goreleaser

tags/v2.12.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
30fbfe4cc0
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      .goreleaser.yml

+ 2
- 0
.goreleaser.yml View File

3
 project_name: ergo
3
 project_name: ergo
4
 builds:
4
 builds:
5
   - main: ergo.go
5
   - main: ergo.go
6
+    env:
7
+      - CGO_ENABLED=0
6
     binary: ergo
8
     binary: ergo
7
     goos:
9
     goos:
8
       - linux
10
       - linux

Loading…
Cancel
Save