diff --git a/.syft/config.yaml b/.syft/config.yaml new file mode 100644 index 000000000..8d8ca87db --- /dev/null +++ b/.syft/config.yaml @@ -0,0 +1,2 @@ +exclude: +- "**/test-fixtures" diff --git a/hack/lib.sh b/hack/lib.sh index a9d0c1c74..2bd167d21 100644 --- a/hack/lib.sh +++ b/hack/lib.sh @@ -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[@]}" }