Skip to content

Automated cherry pick of #6284: Fix single rule deletion for NodePortLocal on Linux (#6284) #355

Automated cherry pick of #6284: Fix single rule deletion for NodePortLocal on Linux (#6284)

Automated cherry pick of #6284: Fix single rule deletion for NodePortLocal on Linux (#6284) #355

name: Scan Antrea Docker image for vulnerabilities before release
on:
pull_request:
branches:
- release-*
jobs:
build:
if: startsWith(github.event.pull_request.title, 'Release ')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Antrea Docker image
run: |
./hack/build-antrea-linux-all.sh --pull
- name: Run Trivy vulnerability scanner on Antrea Docker image
uses: aquasecurity/[email protected]
with:
scan-type: 'image'
image-ref: 'antrea/antrea-ubuntu:latest'
trivy-config: '.trivy.yml'