Skip to content

Commit

Permalink
Optimize signal binary build by disabling CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
bcmmbaga committed Oct 4, 2023
1 parent 22c3b12 commit 36b249d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-infrastructure-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: sudo apt-get install -y jq

- name: Install curl
run: sudo apt-get install -y curl glibc-source
run: sudo apt-get install -y curl

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Build signal binary
working-directory: signal
run: CGO_ENABLED=1 GOARCH=${{ matrix.arch }} go build -o netbird-signal main.go
run: CGO_ENABLED=0 GOARCH=${{ matrix.arch }} go build -o netbird-signal main.go

- name: Build signal docker image
working-directory: signal
Expand Down

0 comments on commit 36b249d

Please sign in to comment.