瀏覽代碼

style: prevent globbing and word splitting (#1543)

Piotr Idzik 1 年之前
父節點
當前提交
f320a60e6f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@ FROM golang:1.23 AS build
 WORKDIR /go/src/github.com/zricethezav/gitleaks
 COPY . .
 RUN VERSION=$(git describe --tags --abbrev=0) && \
-CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X="github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}
+CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}"
 
 FROM alpine:3.19
 RUN apk add --no-cache bash git openssh-client