Skip to content

Commit

Permalink
trying image scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Nov 6, 2023
1 parent 74ca8c4 commit c91d35f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/manual-deploy-unstable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ jobs:
tag: ${{ github.event.inputs.tag }}
dockerfile: Dockerfile
secrets: inherit

scan-image:
needs: build-unstable
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: ${{ needs.build-unstable.outputs.image }}
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
# skip-files: '/gems/ruby/3.2.0/gems/openid_connect-2.2.0/spec/mock_response/public_keys/private_key.pem'

deploy:
needs: build-unstable
Expand Down

0 comments on commit c91d35f

Please sign in to comment.