We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9eb70 commit 566364eCopy full SHA for 566364e
1 file changed
build-release.ps1
@@ -22,6 +22,9 @@ $BUILD_TIME = (Get-Date).ToUniversalTime().ToString('o')
22
$GIT_COMMIT = git rev-parse --short HEAD 2>$null
23
if (-not $GIT_COMMIT) { $GIT_COMMIT = "unknown" }
24
25
+# Disable CGO for static cross-compiled binaries
26
+$env:CGO_ENABLED = "0"
27
+
28
# Build targets with version information
29
Write-Host "Building for Linux AMD64..." -ForegroundColor Yellow
30
$env:GOOS = "linux"; $env:GOARCH = "amd64"
0 commit comments