Skip to content

Commit

Permalink
Add support for uploading to GitHub dependency API
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed Mar 16, 2022
1 parent 497938e commit f5323ff
Show file tree
Hide file tree
Showing 19 changed files with 935 additions and 143 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: |
for distro in alpine centos debian; do
docker build -t localhost:5000/match-coverage/$distro ./tests/fixtures/image-$distro-match-coverage
docker push localhost:5000/match-coverage/$distro:latest
docker push localhost:5000/match-coverage/${distro}:latest
done
- run: npm ci
- run: npm test
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ inputs:
description: "The name to use for the SBOM file generated by this action"
required: false

syft-version:
required: false
description: "Syft version string to use"

dependency-snapshot:
required: false
description: "Upload to GitHub dependency snapshot API"
default: "false"

runs:
using: "node12"
main: "dist/runSyftAction/index.js"
251 changes: 218 additions & 33 deletions dist/attachReleaseAssets/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f5323ff

Please sign in to comment.