From 47b4da4b18ca0aa2dc21aa196c2f034d78832fd9 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 30 Aug 2024 12:53:23 +0000 Subject: [PATCH] feat: add suport for trivyignore file --- podman.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman.mk b/podman.mk index b51b762..c22f772 100644 --- a/podman.mk +++ b/podman.mk @@ -46,7 +46,7 @@ test:: ## test built artificats scan: ## Scan image using trivy echo "Scanning $(IMAGE):$(TAG)-$(_ARCH) using Trivy $(TRIVY_REMOTE)" - trivy image $(TRIVY_OPTS) --quiet --no-progress localhost/$(IMAGE):$(TAG)-$(_ARCH) + trivy image $(TRIVY_OPTS) --quiet --no-progress --ignorefile ./.trivyignore.yaml localhost/$(IMAGE):$(TAG)-$(_ARCH) # first tag and push all actual images # create new manifest for each tag and add all available TAG-ARCH before pushing