From fe3c2b4bdf7c57564a44c48bb3ce9f4a494fbfdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 12 Oct 2024 00:37:03 +0800 Subject: [PATCH] Fix docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d619b33..19cca5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ENV GOARCH=$TARGETARCH RUN set -ex \ && apk add git build-base \ && export COMMIT=$(git rev-parse --short HEAD) \ - && export VERSION=$(go run ./cmd/internal/read_tag) \ + && export VERSION=$(go run github.com/sagernet/sing-box/cmd/internal/read_tag@latest) \ && go build -v -trimpath \ -o /go/bin/serenity \ -ldflags "-X \"github.com/sagernet/serenity/cmd/serenity.Version=$VERSION\" -s -w -buildid=" \