need the workspace
This commit is contained in:
parent
f5d3ab4505
commit
72705c21aa
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -77,7 +77,7 @@ image: clean-image ## Build image for a particular arch.
|
||||||
|
|
||||||
.PHONY: gosec
|
.PHONY: gosec
|
||||||
gosec:
|
gosec:
|
||||||
docker run --mount type=bind,source="$(pwd)"/,target=/source securego/gosec:2.11.0 -exclude=G109,G601,G104,G204,G304,G306,G307 -tests=false -exclude-dir=test -exclude-dir=images/ -exclude-dir=docs/ /source/...
|
docker run --rm -it -w /source/ -v "$(pwd)"/:/source securego/gosec:2.11.0 -exclude=G109,G601,G104,G204,G304,G306,G307 -tests=false -exclude-dir=test -exclude-dir=images/ -exclude-dir=docs/ /source/...
|
||||||
|
|
||||||
.PHONY: image-chroot
|
.PHONY: image-chroot
|
||||||
image-chroot: clean-chroot-image ## Build image for a particular arch.
|
image-chroot: clean-chroot-image ## Build image for a particular arch.
|
||||||
|
|
Loading…
Reference in a new issue