parsaaghayi-backend/vendor/swagger-api/swagger-ui/.github/workflows/docker-image-check.yml
DevOps 3aad54907e
Some checks failed
Deploy Backend / deploy (push) Failing after 3m44s
chore: commit complete vendor (Liara mirror no dist)
2026-06-23 15:37:41 +00:00

24 lines
517 B
YAML

name: Security scan for docker image
on:
workflow_dispatch:
schedule:
- cron: '30 4 * * *'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.swagger.io/swaggerapi/swagger-ui:unstable'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'