From 1b029bc09fca4e1cd95a9e162f90c75e59fd23a0 Mon Sep 17 00:00:00 2001 From: jinnrry Date: Fri, 1 Mar 2024 19:16:51 +0800 Subject: [PATCH] v2.4.0 --- DockerfileGithubAction | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DockerfileGithubAction b/DockerfileGithubAction index 9cfc5db..3562eec 100644 --- a/DockerfileGithubAction +++ b/DockerfileGithubAction @@ -6,9 +6,9 @@ COPY server . RUN apk update && apk add git RUN go build -ldflags "-s -w -X 'main.goVersion=$(go version)' -X 'main.gitHash=$(git show -s --format=%H)' -X 'main.buildTime=$(TZ=UTC-8 date +%Y-%m-%d" "%H:%M:%S)'" -o pmail main.go -RUN cd /work/hooks/telegram_push && go build -ldflags "-s -W" -o output/telegram_push main.go -RUN cd /work/hooks/web_push && go build -ldflags "-s -W" -o output/web_push main.go -RUN cd /work/hooks/wechat_push && go build -ldflags "-s -W" -o output/wechat_push main.go +RUN cd /work/hooks/telegram_push && go build -ldflags "-s -W" -o output/telegram_push telegram_push.go +RUN cd /work/hooks/web_push && go build -ldflags "-s -W" -o output/web_push web_push.go +RUN cd /work/hooks/wechat_push && go build -ldflags "-s -W" -o output/wechat_push wechat_push.go FROM alpine