Skip to content

Commit

Permalink
match others...
Browse files Browse the repository at this point in the history
  • Loading branch information
zarsky-broad committed Dec 16, 2020
1 parent f5abcce commit 2739d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function docker_cmd()
docker build -t $DOCKERHUB_REGISTRY:${HASH_TAG} .

echo "scanning docker image..."
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v "$HOME"/Library/Caches:/root/.cache/ aquasec/trivy --severity CRITICAL "$DOCKERHUB_REGISTRY":"${HASH_TAG}"
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/trivy-cache:/root/.cache/ aquasec/trivy --severity CRITICAL --no-progress --ignore-unfixed --exit-code 1 "$DOCKERHUB_REGISTRY":"${HASH_TAG}"

echo "building ${DOCKERHUB_TESTS_REGISTRY}:${HASH_TAG}..."
cd automation
Expand Down

0 comments on commit 2739d9b

Please sign in to comment.