mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
fixing module name, updating gitignore and travis
This commit is contained in:
1 parent
b55d88dc15
commit
e5f5e64cdb
19 files changed
+40
-44
No files matched your search
+5
-4
@@ -1,12 +1,12 @@
|
||||
FROM golang:1.13.0 AS build
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks-ng
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks
|
||||
COPY . .
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks-ng *.go
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks *.go
|
||||
|
||||
FROM alpine:3.7
|
||||
RUN apk add --no-cache bash git openssh
|
||||
COPY --from=build /go/src/github.com/zricethezav/gitleaks-ng/bin/* /usr/bin/
|
||||
ENTRYPOINT ["gitleaks-ng"]
|
||||
COPY --from=build /go/src/github.com/zricethezav/gitleaks/bin/* /usr/bin/
|
||||
ENTRYPOINT ["gitleaks"]
|
||||
|
||||
# How to use me :
|
||||
|
||||
@@ -14,3 +14,4 @@ ENTRYPOINT ["gitleaks-ng"]
|
||||
# docker run --rm --name=gitleaks gitleaks --repo=https://github.com/zricethezav/gitleaks
|
||||
|
||||
# This will check for secrets in https://github.com/zricethezav/gitleaks
|
||||
|
||||
Reference in new issue
Block a user