We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc704d1 commit 427af86Copy full SHA for 427af86
.github/workflows/release.yaml
@@ -25,7 +25,7 @@ jobs:
25
env:
26
GOARCH: ${{ matrix.goarch }}
27
CGO_ENABLED: 0
28
- run: ./build_linux.sh
+ run: ./build_linux.sh -ldflags '-extldflags -static -X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${{ github.ref_name }}'
29
30
- name: COPY files
31
run: cp README.md LICENSE bin/
@@ -76,7 +76,7 @@ jobs:
76
77
78
79
- run: ./build_windows.sh
+ run: ./build_windows.sh -ldflags '-extldflags -static -X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${{ github.ref_name }}'
80
81
82
0 commit comments