From 9c408720dd25080d182b866bbb2b9f75e54d3af5 Mon Sep 17 00:00:00 2001 From: johlanse Date: Fri, 5 Aug 2022 17:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push-to-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-to-docker.yml b/.github/workflows/push-to-docker.yml index cbdb693..bfd61ee 100644 --- a/.github/workflows/push-to-docker.yml +++ b/.github/workflows/push-to-docker.yml @@ -32,7 +32,7 @@ jobs: - name: Build binary file run: | - export LD_FLAGS="-w -s -X main.VERSION=${env.RELEASE_VERSION}" + export LD_FLAGS="-w -s -X main.VERSION=$env.RELEASE_VERSION" go mod tidy go build -o "output/study_xxqg" -trimpath -ldflags "$LD_FLAGS" ./