Skip to content

Commit

Permalink
chore: Grype image doesn't pull the Docker image anymore (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanFl authored Nov 12, 2024
1 parent a457af1 commit 1ab620b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/entrypoints/entrypoint_grype_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ if [[ -n "$FURTHER_PARAMETERS" ]]; then
fi

cd "$WORKSPACE"
docker pull --quiet "$TARGET"
grype docker:"$TARGET" $FURTHER_PARAMETERS --quiet --output cyclonedx-json --file "$REPORT_NAME"
grype docker:"$TARGET" $FURTHER_PARAMETERS --by-cve --quiet --output cyclonedx-json --file "$REPORT_NAME"

if [ "$SO_UPLOAD" == "true" ]; then
source file_upload_observations.sh
Expand Down

0 comments on commit 1ab620b

Please sign in to comment.