Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CGO_ENABLED=0 #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- run:
name: Build amd64 darwin
command: |
GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/darwin-amd64.bin
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/darwin-amd64.bin
chmod +x ~/artifacts/darwin-amd64.bin
- store_artifacts:
path: ~/artifacts/darwin-amd64.bin
Expand All @@ -144,7 +144,7 @@ jobs:
- run:
name: Build arm64 darwin
command: |
GOOS=darwin GOARCH=arm64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/darwin-arm64.bin
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/darwin-arm64.bin
chmod +x ~/artifacts/darwin-arm64.bin
- store_artifacts:
path: ~/artifacts/darwin-arm64.bin
Expand All @@ -166,7 +166,7 @@ jobs:
- run:
name: Build amd64 linux
command: |
GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/linux-amd64.bin
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/linux-amd64.bin
chmod +x ~/artifacts/linux-amd64.bin
- run:
name: Start local-kms for testing
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
- run:
name: Build arm64 linux
command: |
GOOS=linux GOARCH=arm64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/linux-arm64.bin
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o ~/artifacts/linux-arm64.bin
chmod +x ~/artifacts/linux-arm64.bin
- store_artifacts:
path: ~/artifacts/linux-arm64.bin
Expand All @@ -237,7 +237,7 @@ jobs:
- run:
name: Build amd64 linux
command: |
GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o /artifacts/linux-amd64-alpine.bin
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=<< pipeline.git.tag >>' -X 'main.GitCommit=<< pipeline.git.revision >>'" -o /artifacts/linux-amd64-alpine.bin
chmod +x /artifacts/linux-amd64-alpine.bin
- run:
name: Start local-kms for testing
Expand Down