Skip to content

Bump codecov/codecov-action from 4.3.0 to 4.4.0 #153

Bump codecov/codecov-action from 4.3.0 to 4.4.0

Bump codecov/codecov-action from 4.3.0 to 4.4.0 #153

Workflow file for this run

---
name: Trivy
on:
push:
branches:
- master
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
jobs:
analyze:
name: 'Analyze'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
tags: 'ci/puppetboard:${{ github.sha }}'
push: false
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ci/puppetboard:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'