Skip to content

Commit

Permalink
Merge pull request #21 from redhat-appstudio/midstream/no-false-posit…
Browse files Browse the repository at this point in the history
…ives

Avoid false positives in self-generated SBOM
  • Loading branch information
chmeliik authored Mar 14, 2024
2 parents 56421c6 + b5c69f1 commit 9839dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .syft/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
exclude:
- "**/test-fixtures"
2 changes: 1 addition & 1 deletion hack/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function get_last_release() {

function apply_midstream_changes() {
local midstream_ref=$1
local custom_files=(Dockerfile build-syft-binary.sh)
local custom_files=(Dockerfile build-syft-binary.sh .syft/)
git checkout "$midstream_ref" -- "${custom_files[@]}"
git add "${custom_files[@]}"
}

0 comments on commit 9839dfe

Please sign in to comment.