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

Create basic Github Action from TypeScript action template #1

Closed
kzantow opened this issue Aug 25, 2021 · 0 comments
Closed

Create basic Github Action from TypeScript action template #1

kzantow opened this issue Aug 25, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kzantow
Copy link
Contributor

kzantow commented Aug 25, 2021

Github provides a TypeScript action template with much of what's needed already configured: https://github.com/actions/typescript-action

Modify this to:

  • Download Syft (e.g. curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin <tag> or so where tag is like v0.21.0)
  • Run it on a directory or container image (possibly the current directory, by default)
  • Output a SPDX file in some meaningful way
@kzantow kzantow self-assigned this Aug 25, 2021
@kzantow kzantow added the enhancement New feature or request label Aug 25, 2021
kzantow added a commit that referenced this issue Sep 10, 2021
Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow closed this as completed Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant