We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afd5ea6 commit 290e429Copy full SHA for 290e429
.github/workflows/release.yml
@@ -40,8 +40,8 @@ jobs:
40
env:
41
VERSION: ${{ steps.version.outputs.version }}
42
run: |
43
- echo "🔨 Building Linux AMD64..."
44
- GOOS=linux GOARCH=amd64 go build \
+ echo "🔨 Building Linux AMD64 (static)..."
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
45
-ldflags "-X main.VERSION=$VERSION -s -w" \
46
-trimpath \
47
-o catops-linux-amd64 \
@@ -53,8 +53,8 @@ jobs:
53
54
55
56
- echo "🔨 Building Linux ARM64..."
57
- GOOS=linux GOARCH=arm64 go build \
+ echo "🔨 Building Linux ARM64 (static)..."
+ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build \
58
59
60
-o catops-linux-arm64 \
0 commit comments