Skip to content

Update crazy-max/ghaction-container-scan digest to 12f5803 #409

Update crazy-max/ghaction-container-scan digest to 12f5803

Update crazy-max/ghaction-container-scan digest to 12f5803 #409

name: CVE Scanning for Docker
on: [push, pull_request]
jobs:
scan-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# https://github.com/docker-practice/actions-setup-docker/pull/33
- uses: docker-practice/actions-setup-docker@d7be7913d15a6b821cc3ed75b4c03b48e1dde22c
- name: Build
run: docker build -f Dockerfile -t user/app:latest .
working-directory: docker
- name: Scan for vulnerabilities
uses: crazy-max/ghaction-container-scan@5e7c1f0865d5a86cf507510439f65f2de857e8dc
with:
image: user/app:latest
env:
TRIVY_TIMEOUT: 20m