Skip to content

Commit

Permalink
refactor: Do not use Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak committed Jun 2, 2020
1 parent 29696a7 commit 8103665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile

This file was deleted.

6 changes: 2 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: 'Trivy Action'
description: 'Scan container image for vulnerabilities with Trivy'
author: 'Daniel Pacak'
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'
image: 'docker://docker.io/aquasec/trivy:latest'
args:
- ${{ inputs.image-ref }}

0 comments on commit 8103665

Please # to comment.