drop trivy

This commit is contained in:
Andrew Ridgway 2026-05-20 23:04:52 +10:00
parent 5054f609dd
commit 4ace5932ff
Signed by: armistace
GPG Key ID: C8D9EAC514B47EF1

View File

@ -44,14 +44,6 @@ jobs:
tags: |
git.aridgwayweb.com/armistace/pr-reviewer:latest
- name: Trivy Scan
run: |
TRIVY_VERSION=$(curl -s https://api.github.com/repos/aquasecurity/trivy/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
wget -qO /tmp/trivy.tar.gz "https://github.com/aquasecurity/trivy/releases/download/${TRIVY_VERSION}/trivy_${TRIVY_VERSION#v}_Linux-64bit.tar.gz"
tar xzf /tmp/trivy.tar.gz -C /usr/local/bin trivy
chmod +x /usr/local/bin/trivy
trivy image --format table --exit-code 1 --ignore-unfixed --vuln-type os,library --severity HIGH,CRITICAL git.aridgwayweb.com/armistace/pr-reviewer:latest
- name: Deploy
run: |
echo "Installing Kubectl"