Skip to content

Add instance admin web UI (#18) #181

Add instance admin web UI (#18)

Add instance admin web UI (#18) #181

Workflow file for this run

name: Vuln Scan
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/[email protected]
with:
scan-type: 'fs'
scan-ref: '.'
severity: 'CRITICAL,HIGH'
exit-code: '1'
- name: Set up Docker
uses: docker/setup-buildx-action@master
- name: Build an image from Dockerfile
run: |
docker build -t yeetfile:${{ github.sha }} .
- name: Run Trivy vulnerability scanner for docker image
uses: aquasecurity/[email protected]
with:
image-ref: 'yeetfile:${{ github.sha }}'
exit-code: '1'
severity: 'CRITICAL,HIGH'