Skip to content

Commit 77bc612

Browse files
committed
Fix alpine usage
With `CGO_ENABLED=0` binaries are not dynamically linking to libc, which seems to not be working in alpine docker images
1 parent 7c0ea27 commit 77bc612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Build release assets
8484
run: |
85-
$(go env GOPATH)/bin/gox \
85+
CGO_ENABLED=0 $(go env GOPATH)/bin/gox \
8686
-output='build/terraform-provider-vaulted-${{ steps.tag.outputs.TAG }}_{{ .OS }}_{{ .Arch }}' \
8787
-arch='amd64' \
8888
-os='linux darwin' \

0 commit comments

Comments
 (0)