Skip to content

Commit 5e720e5

Browse files
author
eversC
committed
Add goarch & cgo_enabled build flags
1 parent ee6f320 commit 5e720e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
command: |
3737
export GO111MODULE=on
3838
go mod download
39-
GOOS=linux go build
39+
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
4040
docker build -t ovotech/cloud-key-rotator:latest .
4141
echo $DOCKER_PASS | docker login -u=$DOCKER_USER --password-stdin
4242
docker push ovotech/cloud-key-rotator

0 commit comments

Comments
 (0)