From 7429e76cae3b0778897c45b498764ce9fed903dd Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 23 Apr 2024 15:30:13 +0800 Subject: [PATCH] ci-test --- Dockerfile | 2 +- flake.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9cf12a8..299f881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN cd web && npm i && npm run build FROM golang as server WORKDIR /src COPY --from=web /src . -RUN go get . && go generate ./... && go build . -trimpath -ldflags "-w -s -X main.Version=v1.0.0" +RUN go get . && go generate ./... && go build -trimpath -ldflags '-w -s -X main.Version=v1.0.0' . FROM scratch COPY --from=server /src/reCoreD-UI . diff --git a/flake.nix b/flake.nix index e046a55..0590fb1 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,6 @@ inherit version; src = self; - GOPROXY = "https://goproxy.cn,direct"; ldflags = [ "-s"