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" ./