From 5965124cb882f0d4c18b588c5144f6dab11b5ad7 Mon Sep 17 00:00:00 2001 From: jinnrry Date: Sun, 18 Feb 2024 15:00:33 +0800 Subject: [PATCH] fix --- DockerfileGithubAction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DockerfileGithubAction b/DockerfileGithubAction index 386f68df..573cae5a 100644 --- a/DockerfileGithubAction +++ b/DockerfileGithubAction @@ -4,7 +4,7 @@ WORKDIR /work COPY server . -RUN apk update && apk add git +RUN apt-get update && apt-get install -y git RUN go build -ldflags "-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