From 0cedcaf13c58d99f08f41291ac963a307e98fa82 Mon Sep 17 00:00:00 2001 From: Raffaele Di Fazio Date: Mon, 20 Dec 2021 17:38:14 +0000 Subject: [PATCH] change more dir Signed-off-by: GitHub --- scripts/run-trivy.sh | 1 + 1 file changed, 1 insertion(+) 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)