mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +00:00
all: skip issues with low severity at docker scan
This commit is contained in:
parent
34379d4cf1
commit
d02146663b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ package-base:
|
|||
deployment/docker/base
|
||||
|
||||
docker-scan: package-base
|
||||
docker scan --accept-license $(BASE_IMAGE) || (echo "❌ The build has been terminated because critical vulnerabilities were found in $(BASE_IMAGE)"; exit 1)
|
||||
docker scan --severity=medium --accept-license $(BASE_IMAGE) || (echo "❌ The build has been terminated because critical vulnerabilities were found in $(BASE_IMAGE)"; exit 1)
|
||||
|
||||
package-builder:
|
||||
(docker image ls --format '{{.Repository}}:{{.Tag}}' | grep -q '$(BUILDER_IMAGE)$$') \
|
||||
|
|
Loading…
Reference in a new issue