From 2c8eaaa1f3f401d88b6a34cec2a8a29badc05da0 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 5 Jun 2024 23:49:23 +0800 Subject: [PATCH 1/2] :construction_worker: Update docker image building workflow --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f26b4495b..ef2b5e2d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ COPY --from=NODE_BUILD /go/src/github.com/siyuan-note/siyuan/ /go/src/github.com ENV GO111MODULE=on ENV CGO_ENABLED=1 RUN apk add --no-cache gcc musl-dev && \ - cd kernel && go build --tags fts5 -v -ldflags "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod" && \ + cd kernel && go build --tags fts5 -v -ldflags "-s -w" && \ mkdir /opt/siyuan/ && \ mv /go/src/github.com/siyuan-note/siyuan/app/appearance/ /opt/siyuan/ && \ mv /go/src/github.com/siyuan-note/siyuan/app/stage/ /opt/siyuan/ && \ From c657d9ba29dee70965fe89b0c98568c107f2e0be Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 5 Jun 2024 23:53:22 +0800 Subject: [PATCH 2/2] :construction_worker: Update gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7352184b3..7becaebeb 100644 --- a/.gitignore +++ b/.gitignore @@ -39,5 +39,5 @@ lerna-debug.log* package-lock.json yarn.lock -# workflows +# Workflows **/__pycache__