Skip to content

Commit

Permalink
chore: Init project
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <[email protected]>
  • Loading branch information
danielpacak committed Jun 2, 2020
0 parents commit 29696a7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM aquasec.trivy:latest
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Trivy GitHub Action

13 changes: 13 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Trivy Action'
description: 'Scan container image for vulnerabilities with Trivy'
inputs:
image-ref: # Docker image reference, e.g. alpine:3.10.2
description: 'Docker image reference'
outputs:
scan-report:
description: 'Vulnerability report is JSON'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.image-ref }}

0 comments on commit 29696a7

Please sign in to comment.