mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
all: skip issues with low severity at docker scan
This commit is contained in:
parent
0e0095d350
commit
035a2b5ed5
2 changed files with 2 additions and 2 deletions
2
.github/workflows/nightly-build.yml
vendored
2
.github/workflows/nightly-build.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
|
||||
- name: build & publish
|
||||
run: |
|
||||
docker scan --login --token "$SNYK_TOKEN" --accept-license
|
||||
docker scan --severity=medium --login --token "$SNYK_TOKEN" --accept-license
|
||||
LATEST_TAG=nightly PKG_TAG=nightly make publish
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_AUTH_TOKEN }}
|
||||
|
|
|
@ -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