File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,6 @@ docker run --rm -t \
4848 --env VERSION=" ${VERSION} " \
4949 --volume " ${REPO_ROOT} :/secretless-broker" \
5050 --workdir /secretless-broker \
51- " ${GORELEASER_IMAGE} :${GORELEASER_LATEST_TAG} " --rm-dist " $@ "
51+ " ${GORELEASER_IMAGE} :${GORELEASER_LATEST_TAG} " --clean " $@ "
5252
5353echo " Releases built. Archives can be found in dist/goreleaser"
Original file line number Diff line number Diff line change 77set -eo pipefail
88
99current_dir=$( " $( dirname " $0 " ) /abspath" )
10- toplevel_dir=" $current_dir /.."
10+ toplevel_dir=" $( cd " $ current_dir /.." && pwd ) "
1111
1212# Default values to pass to security_scan
1313confidence=' medium'
@@ -39,6 +39,7 @@ if [[ ! -v BRANCH_NAME ]]; then
3939else
4040 # Running in Jenkins
4141 excluded_directories=" ${toplevel_dir} /test,${toplevel_dir} /third_party/go-mssqldb"
42+ echo " Excluding directories: ${excluded_directories} "
4243 go install github.com/securego/gosec/v2/cmd/gosec@latest
4344 git config --global --add safe.directory " ${WORKSPACE} "
4445 ./bin/run_gosec -c " ${confidence} " -s " ${severity} " -b " ${current_branch} " -e " ${excluded_directories} "
You can’t perform that action at this time.
0 commit comments