Skip to content

chore(deps): Bump sigs.k8s.io/cluster-api/test from 1.7.3 to 1.8.1 in /test in the test-dependencies group #2287

chore(deps): Bump sigs.k8s.io/cluster-api/test from 1.7.3 to 1.8.1 in /test in the test-dependencies group

chore(deps): Bump sigs.k8s.io/cluster-api/test from 1.7.3 to 1.8.1 in /test in the test-dependencies group #2287

Workflow file for this run

name: trivy
on:
push:
branches: [ "main", "release-*" ]
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
branches: [ "main" ]
schedule:
- cron: '37 1 * * *'
permissions:
contents: read
jobs:
scan:
permissions:
contents: read
security-events: write
name: Scan
runs-on: "ubuntu-20.04"
steps:
- name: Checkout code
uses: actions/checkout@v4.1.3
- name: Build an image
run: |
TAG=${{ github.sha }} ARCH=amd64 make docker-build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@062f2592684a31eb3aa050cc61e7ca1451cecd3d
with:
image-ref: 'ghcr.io/rancher/turtles-amd64:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'