mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-07-04 17:32:34 +08:00
fix: version cmd
This commit is contained in:
@ -8,7 +8,7 @@ RUN go mod download
|
||||
|
||||
ARG version
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X sub2clash/config.Version=${version}" -o sub2sing-box main.go
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X sub2sing-box/constant.Version=${version}" -o sub2sing-box main.go
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
Reference in New Issue
Block a user