Skip to content

fix: use aws mirror for trivy db #388

fix: use aws mirror for trivy db

fix: use aws mirror for trivy db #388

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
image-ok:
uses: ./.github/workflows/workflow.yaml
with:
runs-on: "['ubuntu-latest']"
registry-url: cr.example.com
name: test
context: ./test/image-ok
push: false
secrets:
registry-username: ""
registry-password: ""
token: ${{ secrets.GITHUB_TOKEN }}
image-vulnerable:
uses: ./.github/workflows/workflow.yaml
with:
runs-on: "['ubuntu-latest']"
registry-url: cr.example.com
name: test
context: ./test/image-vulnerable
push: false
trivy-error-is-success: true
secrets:
registry-username: ""
registry-password: ""
token: ${{ secrets.GITHUB_TOKEN }}
image-with-extra-tags:
uses: ./.github/workflows/workflow.yaml
with:
runs-on: "['ubuntu-latest']"
registry-url: cr.example.com
name: test
context: ./test/image-ok
push: false
tag-extra: foo,bar,baz
secrets:
registry-username: ""
registry-password: ""
token: ${{ secrets.GITHUB_TOKEN }}