Skip to content

build(deps): Bump esbuild from 0.27.4 to 0.27.5 (#3237) #6232

build(deps): Bump esbuild from 0.27.4 to 0.27.5 (#3237)

build(deps): Bump esbuild from 0.27.4 to 0.27.5 (#3237) #6232

Workflow file for this run

name: Trivy Container Scan
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag vprodemo.azurecr.io/webui:${{ github.sha }} --tag vprodemo.azurecr.io/webui:latest
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # master
with:
image-ref: 'vprodemo.azurecr.io/webui:${{ github.sha }}'
format: 'sarif'
output: 'webui-trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
if: always()
with:
sarif_file: 'webui-trivy-results.sarif'
- name: Upload Trivy Artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
if: always()
with:
name: webui-trivy-results.sarif
path: webui-trivy-results.sarif