mirror of
https://github.com/aquasecurity/trivy-action.git
synced 2026-05-14 03:02:40 +00:00
refactor: Do not use Dockerfile
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
FROM aquasec.trivy:latest
|
||||
+2
-4
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user