Snyk Docker action
Using the Snyk Docker Action to check for vulnerabilities
name: Example workflow for Docker using Snyk
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Run Snyk to check Docker image for vulnerabilities
uses: snyk/actions/docker@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
image: your/image-to-testSnyk Docker Action properties
Property
Default
Description
Uploading Snyk scan results to GitHub Code Scanning using the Snyk Docker Action
Last updated
Was this helpful?

