Skip to content

Commit

Permalink
So far we are practicing Snyk scan of docker images. Now we can comme…
Browse files Browse the repository at this point in the history
…nt docker scan logic to address collected issues later with more experiements. (#15702)
  • Loading branch information
mashhurs authored Dec 20, 2023
1 parent 03d7b59 commit 0049717
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .buildkite/scripts/snyk/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ resolve_version_and_report_docker_images() {
}

# resolve docker artifact and report
for TARGET_BRANCH in "${TARGET_BRANCHES[@]}"
do
if git show-ref --quiet refs/heads/"$TARGET_BRANCH"; then
echo "Using $TARGET_BRANCH branch for docker images."
resolve_version_and_report_docker_images "$TARGET_BRANCH"
else
echo "$TARGET_BRANCH branch doesn't exist."
fi
done
#for TARGET_BRANCH in "${TARGET_BRANCHES[@]}"
#do
# if git show-ref --quiet refs/heads/"$TARGET_BRANCH"; then
# echo "Using $TARGET_BRANCH branch for docker images."
# resolve_version_and_report_docker_images "$TARGET_BRANCH"
# else
# echo "$TARGET_BRANCH branch doesn't exist."
# fi
#done

0 comments on commit 0049717

Please sign in to comment.