Skip to content

Commit

Permalink
feat: introduce cve scanning (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere authored Sep 30, 2021
1 parent e785140 commit 1432e2c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker Image Scan
on:
push:
branches:
- 'master'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'master'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build images
shell: bash
run: |
make docker
- name: Scan image Dev
uses: anchore/scan-action@v3
with:
image: oryd/oathkeeper:dev
fail-build: true
severity-cutoff: high
- name: Scan image Alpine
uses: anchore/scan-action@v3
with:
image: oryd/oathkeeper:dev-alpine
fail-build: true
severity-cutoff: high

0 comments on commit 1432e2c

Please sign in to comment.