diff --git a/scripts/run-trivy.sh b/scripts/run-trivy.sh index 6d040a9d9..ba4fdd340 100755 --- a/scripts/run-trivy.sh +++ b/scripts/run-trivy.sh @@ -9,4 +9,5 @@ tar -xvf trivy_0.20.2_Linux-64bit.tar.gz chmod +x trivy # run trivy +cd - ./trivy image --exit-code 1 us.gcr.io/k8s-artifacts-prod/external-dns/external-dns:$(git describe --tags --always --dirty)