Skip to content

docs(zh): sync #3417 combine blog and release to news (#3438) #100

docs(zh): sync #3417 combine blog and release to news (#3438)

docs(zh): sync #3417 combine blog and release to news (#3438) #100

Workflow file for this run

name: Trivy
on:
push:
branches:
- "main"
schedule:
- cron: '55 17 * * 5'
permissions:
contents: read
jobs:
image-scan:
permissions:
contents: read # for actions/checkout to fetch code
name: Image Scan
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Build an image from Dockerfile
run: |
IMAGE=envoy-proxy/gateway-dev TAG=${{ github.sha }} make image
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@b2933f565dbc598b29947660e66259e3c7bc8561 # v0.20.0
with:
image-ref: envoy-proxy/gateway-dev:${{ github.sha }}
exit-code: '1'