Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
setting CGO_ENABLED=0
  • Loading branch information
cmendible committed May 13, 2024
1 parent 67e431d commit eddd627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Run build and archive non windows binaries
if: matrix.target_os != 'windows'
run: |
GOOS=${{ matrix.target_os }} GOARCH=${{ matrix.target_arch }} go build -ldflags "-s -w -X 'github.com/Azure/azqr/cmd/azqr.version=${{ env.MINVERVERSIONOVERRIDE }}'" -o ${{ env.AZQR_OUTPUT_FOLDER }}/${{ matrix.filename }} ./cmd/main.go
CGO_ENABLED=0 GOOS=${{ matrix.target_os }} GOARCH=${{ matrix.target_arch }} go build -ldflags "-s -w -X 'github.com/Azure/azqr/cmd/azqr.version=${{ env.MINVERVERSIONOVERRIDE }}'" -o ${{ env.AZQR_OUTPUT_FOLDER }}/${{ matrix.filename }} ./cmd/main.go
- name: Run build and archive windows binaries
if: matrix.target_os == 'windows'
Expand Down

0 comments on commit eddd627

Please sign in to comment.