File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,12 @@ make test
147147#### Release Build
148148
149149Make sure you have installed the [ goreleaser] ( https://github.com/goreleaser/goreleaser ) tool and then you can release gosec as follows:
150+
151+ ```
150152git tag 1.0.0
151153export GITHUB_TOKEN=<YOUR GITHUB TOKEN>
152154make release
155+ ```
153156
154157The released version of the tool is available in the ` dist ` folder. The build information should be displayed in the usage text.
155158
@@ -175,10 +178,11 @@ You can build the docker image as follows:
175178make image
176179```
177180
178- Now you can run the gosec tool in a container against your local workspace:
181+ You can run the ` gosec ` tool in a container against your local Go project. You just have to mount the project in the
182+ ` GOPATH ` of the container:
179183
180184```
181- docker run -it -v <YOUR LOCAL WORKSPACE >:/workspace gosec /workspace
185+ docker run -it -v $GOPATH/src/ <YOUR PROJECT PATH >:/go/src/<YOUR PORJECT PATH> securego/ gosec /go/src/<YOUR PROJECT PATH>
182186```
183187
184188#### Generate TLS rule
You can’t perform that action at this time.
0 commit comments