forked from kubernetes-sigs/cluster-api-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 679 Bytes
/
Copy pathscan.yml
File metadata and controls
29 lines (26 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: scan-images
on:
schedule:
# every Monday at 12:00AM
- cron: "0 12 * * 1"
# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
jobs:
scan:
strategy:
fail-fast: false
matrix:
branch: [ main, release-2.2, release-2.1, release-2.0 ]
name: Trivy
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
with:
ref: ${{ matrix.branch }}
- name: Setup go
uses: actions/setup-go@v6
with:
go-version-file: '${{ github.workspace }}/go.mod'
- name: Run verify container script
run: make verify-container-images