Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
r4v1np1nk authored Jul 31, 2020
1 parent 0bd4d3c commit 80c6a16
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Snyk Docker"
description: "Check your Docker images for vulnerabilties using Snyk"
author: "Gareth Rushgrove"
branding:
icon: "alert-triangle"
color: "yellow"
inputs:
command:
description: "Which Snyk command to run, defaults to test"
default: test
args:
description: "Additional arguments to pass to Snyk"
image:
description: "Image to test"
runs:
using: "docker"
image: "docker://snyk/snyk:docker"
args:
- snyk
- ${{ inputs.command }}
- ${{ inputs.args }}
- --docker
- ${{ inputs.image }}

0 comments on commit 80c6a16

Please sign in to comment.