From 5f81a98cbb13e16e8c195d7d9ef73fe4558e884e Mon Sep 17 00:00:00 2001 From: johlanse Date: Fri, 5 Aug 2022 17:28:14 +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 a4789cc..2776678 100644 --- a/.github/workflows/push-to-docker.yml +++ b/.github/workflows/push-to-docker.yml @@ -31,7 +31,7 @@ jobs: - name: Build binary file run: | - echo ${env.RELEASE_VERSION} + echo "${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" ./