From e4ba96adc310ea1fe64f43af8e26dd076361b57c Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Tue, 21 Aug 2018 11:14:30 +0200 Subject: [PATCH] Update README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ef26629ef..317794f4e6 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,12 @@ make test #### Release Build Make sure you have installed the [goreleaser](https://github.com/goreleaser/goreleaser) tool and then you can release gosec as follows: + +``` git tag 1.0.0 export GITHUB_TOKEN= make release +``` The released version of the tool is available in the `dist` folder. The build information should be displayed in the usage text. @@ -175,10 +178,11 @@ You can build the docker image as follows: make image ``` -Now you can run the gosec tool in a container against your local workspace: +You can run the `gosec` tool in a container against your local Go project. You just have to mount the project in the +`GOPATH` of the container: ``` -docker run -it -v :/workspace gosec /workspace +docker run -it -v $GOPATH/src/:/go/src/ securego/gosec /go/src/ ``` #### Generate TLS rule