From e7964587635eb85d94523a7c2d5bd80441841b66 Mon Sep 17 00:00:00 2001 From: zricethezav Date: Mon, 22 Nov 2021 11:29:31 -0600 Subject: [PATCH] remove sorting tags --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7ff3159d..3fc62cd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.17 AS build WORKDIR /go/src/github.com/zricethezav/gitleaks COPY . . -RUN VERSION=$(git tag | sort -V | tail -1) && \ +RUN VERSION=$(git tag | tail -1) && \ GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X="github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION} FROM alpine:3.14.2