We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de79f05 commit 8eee48cCopy full SHA for 8eee48c
.goreleaser.yaml
@@ -14,6 +14,8 @@ builds:
14
goarch:
15
- amd64
16
- arm64
17
+ env:
18
+ - CGO_ENABLED=0
19
ignore:
20
- goos: windows
21
goarch: arm64
Dockerfile
@@ -6,7 +6,7 @@ COPY . /src
6
7
RUN go test -v -vet=off ./...
8
9
-RUN GOOS=linux GARCH=amd64 go build -o git-semver -ldflags="-s -w" cli/main.go
+RUN GOOS=linux GARCH=amd64 CGO_ENABLED=0 go build -o git-semver -ldflags="-s -w" cli/main.go
10
11
FROM alpine:3.17
12
0 commit comments