Skip to content

Commit

Permalink
Skip running trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Feb 23, 2024
1 parent 475442e commit c8bda92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ export PYTHON=3.11

echo Building $CI_REGISTRY_IMAGE, with tag: $TAG
docker build --build-arg BASE=$BASE --build-arg PYTHON=$PYTHON \
-t $CI_REGISTRY_IMAGE:$TAG . \
&& trivy image --skip-files /usr/local/bin/git-secrets --no-progress --timeout 10m -s CRITICAL,HIGH $CI_REGISTRY_IMAGE:$TAG \
&& trivy image --skip-files /usr/local/bin/git-secrets --no-progress --timeout 10m --exit-code 1 --ignore-unfixed $CI_REGISTRY_IMAGE:$TAG
-t $CI_REGISTRY_IMAGE:$TAG .

0 comments on commit c8bda92

Please sign in to comment.