Awesome
<div align="center">GitHub Action to VMWARE's tern!
This Action wraps tern
allowing scanning of your docker images!
Contents
Inputs
image
Required docker image to scan. Example: alpine:latest
format
Output format. Can be either: json
, html
, spdxtagvalue
, spdxjson
, yaml
or human
Optional defaults to json
output
Optional Name of the output file. Defaults to tern.<format>
Outputs
output
output JSON string
file
output JSON file.
Environment Variables
Example Usage
Vanilla
tern
CLI will automatically scan your image`:
name: build
on: [push]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: philips-labs/tern-action@v1.1.0
id: scan
with:
image: alpine:latest
format: yaml
output: alpine.yaml
- uses: actions/upload-artifact@v2
with:
name: tern
path: ${{ steps.scan.outputs.file }}
Examples
Contributors
Thanks goes to these contributors!