Skip to content

Create vulnerability_check.yml #1

Create vulnerability_check.yml

Create vulnerability_check.yml #1

name: vulnerability checker
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Scan for vulnerabilities for ckan image
uses: crazy-max/ghaction-container-scan@v3
with:
dockerfile: ./ckan/Dockerfile
- name: Scan for vulnerabilities for ckan xloader image
uses: crazy-max/ghaction-container-scan@v3
with:
dockerfile: ./ckan/ckanext-xloader/Dockerfile