mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
style: prevent globbing and word splitting (#1543)
This commit is contained in:
1 parent
c4526b2c55
commit
f320a60e6f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user