Skip to content

Commit 140dd05

Browse files
TMP: UID2-7411 CI vuln sanity check (to be reverted)
1 parent dcb5604 commit 140dd05

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: TMP Vuln Sanity 7411
2+
on:
3+
push:
4+
branches: [bmz-UID2-7411-reverse-proxy-apk-upgrade]
5+
jobs:
6+
vuln-sanity:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
- name: Install trivy 0.72.0
12+
run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.72.0
13+
- name: Build & scan uid-reverse-proxy
14+
run: |
15+
docker build --platform linux/amd64 -f tools/reverse-proxy/Dockerfile -t uid-reverse-proxy-test tools/reverse-proxy
16+
trivy image --platform linux/amd64 --severity CRITICAL,HIGH --scanners vuln --exit-code 1 --ignorefile .trivyignore uid-reverse-proxy-test

0 commit comments

Comments
 (0)