Skip to content

Merge pull request #7 from ArturMarekNowak/feature/update-readme #20

Merge pull request #7 from ArturMarekNowak/feature/update-readme

Merge pull request #7 from ArturMarekNowak/feature/update-readme #20

Workflow file for this run

name: Trivy and Dockle
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag grpcgraphqlwebsocketsimage
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'grpcgraphqlwebsocketsimage'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'
- name: Run dockle security diagnosis
uses: hands-lab/dockle-action@v1
with:
image: grpcgraphqlwebsocketsimage