Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar committed Aug 21, 2018
1 parent ec0f8ec commit e4ba96a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<YOUR 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.

Expand All @@ -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 <YOUR LOCAL WORKSPACE>:/workspace gosec /workspace
docker run -it -v $GOPATH/src/<YOUR PROJECT PATH>:/go/src/<YOUR PORJECT PATH> securego/gosec /go/src/<YOUR PROJECT PATH>
```

#### Generate TLS rule
Expand Down

0 comments on commit e4ba96a

Please sign in to comment.