Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SBOM filter to allow image distribution #60

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ jobs:
(( retries == i )) && { echo 'Failed to publish artifacts'; exit 1; }

echo Image available at: ${url}

- name: Clear out the generated SBOM files
run: |
find $TOPDIR -name "*.spdx" -type f -delete
5 changes: 5 additions & 0 deletions ci/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ local_conf_header:
INHERIT += "rm_work"

machine: unset

post_build_filter:
sbom_cleanup: |
# Clear out the generated SBOM files
find $TOPDIR -name "*.spdx" -type f -delete
3 changes: 3 additions & 0 deletions ci/yocto-check-layer.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ CMD="$CMD --dependency `pwd`/poky/meta `pwd`/meta-qcom"
CMD="$CMD --no-auto-dependency"

exec kas shell $TOPDIR/ci/base.yml --command "$CMD"

# Clear out the generated SBOM files
find $TOPDIR -name "*.spdx" -type f -delete