Skip to content

Commit f2ae93b

Browse files
authored
Fix dstack-shim release build (#2964)
1 parent cd07427 commit f2ae93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
run: |
136136
VERSION=${GITHUB_REF#refs/tags/}
137137
CGO_ENABLED=0 go build -ldflags "-X 'main.Version=$VERSION' -extldflags '-static'" -o dstack-runner-$GOOS-$GOARCH $REPO_NAME/runner/cmd/runner
138-
CGO_ENABLED=1 go build -ldflags "-X 'main.Version=$VERSION' -extldflags '-static'" -o dstack-shim-$GOOS-$GOARCH $REPO_NAME/runner/cmd/shim
138+
CGO_ENABLED=1 go build -ldflags "-X 'main.Version=$VERSION'" -o dstack-shim-$GOOS-$GOARCH $REPO_NAME/runner/cmd/shim
139139
- uses: actions/upload-artifact@v4
140140
with:
141141
name: dstack-runner-${{ matrix.goos }}-${{ matrix.goarch }}

0 commit comments

Comments
 (0)