drop trivy
This commit is contained in:
parent
5054f609dd
commit
4ace5932ff
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user