diff --git a/.config/gen-dockerfile.tpl b/.config/gen-dockerfile.tpl index e11c33c..f3424b2 100755 --- a/.config/gen-dockerfile.tpl +++ b/.config/gen-dockerfile.tpl @@ -5,7 +5,7 @@ WORKDIR /go/src/{{ .package }} RUN set -ex \ && apk add --update git \ - && go install -ldflags "-X main.version=\$(git describe --tags || git rev-parse --short HEAD || echo dev)" + && go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" FROM alpine:latest