scan-images #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
ref: ${{ matrix.branch }} | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: '${{ github.workspace }}/go.mod' | |
- name: Run verify container script | |
run: make verify-container-images |