Skip to content

HASS Addon: MongoDB for ARM64 initial release #10

HASS Addon: MongoDB for ARM64 initial release

HASS Addon: MongoDB for ARM64 initial release #10

Workflow file for this run

name: Security Scan
on:
pull_request:
branches:
- main
jobs:
security:
name: Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build an image from Dockerfile
run: |
docker build -t ghcr.io/cvele/hass-mongodb:${{ github.sha }} mongodb/
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.21.0
with:
image-ref: 'ghcr.io/cvele/hass-mongodb:${{ github.sha }}'
format: 'table'
exit-code: '1' # Set to '1' if you want the action to fail on vulnerabilities
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'