Skip to content

Commit fba17be

Browse files
corporate-gadflydims
authored andcommitted
disable CGO for fully static binaries
- fixes #3706 - fixes #3704
1 parent b21c1a1 commit fba17be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
docker run --rm -v ${PWD}:/go/src/github.com/google/cadvisor \
5151
--platform linux/${{ matrix.arch }} \
5252
golang:1.25 \
53-
/bin/bash -c "cd /go/src/github.com/google/cadvisor && GOARCH=${{ matrix.arch }} OUTPUT_NAME_WITH_ARCH=true VERSION=${{ env.VERSION }} GO_FLAGS='-buildvcs=false -tags=netgo' ./build/build.sh"
53+
/bin/bash -c "cd /go/src/github.com/google/cadvisor && GOARCH=${{ matrix.arch }} OUTPUT_NAME_WITH_ARCH=true VERSION=${{ env.VERSION }} GO_FLAGS='-buildvcs=false -tags=netgo' GO_CGO_ENABLED=0 ./build/build.sh"
5454
5555
- name: Generate SHA256 checksums
5656
run: |

0 commit comments

Comments
 (0)