File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,12 @@ make test
147
147
#### Release Build
148
148
149
149
Make sure you have installed the [ goreleaser] ( https://github.com/goreleaser/goreleaser ) tool and then you can release gosec as follows:
150
+
151
+ ```
150
152
git tag 1.0.0
151
153
export GITHUB_TOKEN=<YOUR GITHUB TOKEN>
152
154
make release
155
+ ```
153
156
154
157
The released version of the tool is available in the ` dist ` folder. The build information should be displayed in the usage text.
155
158
@@ -175,10 +178,11 @@ You can build the docker image as follows:
175
178
make image
176
179
```
177
180
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:
179
183
180
184
```
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>
182
186
```
183
187
184
188
#### Generate TLS rule
You can’t perform that action at this time.
0 commit comments