From 16ff7be4f9db3884b82ccf53499228ef1da8fd76 Mon Sep 17 00:00:00 2001 From: Akash-Jain Date: Fri, 19 Jan 2024 16:12:57 +0530 Subject: [PATCH] fix: Security Scan CI file path --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a74864741de..61623e846bd 100644 --- a/Makefile +++ b/Makefile @@ -105,8 +105,8 @@ snyk-dependencies-report: ## Uses Snyk CLI to validate the project dependencies .PHONY: snyk-ingestion-base-slim-report snyk-ingestion-base-slim-report: @echo "Validating Ingestion Slim Container" - docker build -t openmetadata-ingestion-base-slim:scan -f ingestion/operators/docker/Dockerfile --build-arg INGESTION_DEPENDENCY=slim . - snyk container test openmetadata-ingestion-base-slim:scan --file=ingestion/operators/docker/Dockerfile $(SNYK_ARGS) --json > security-report/ingestion-docker-base-slim-scan.json | true; + docker build -t openmetadata-ingestion-base-slim:scan -f ingestion/operators/docker/Dockerfile.ci --build-arg INGESTION_DEPENDENCY=slim . + snyk container test openmetadata-ingestion-base-slim:scan --file=ingestion/operators/docker/Dockerfile.ci $(SNYK_ARGS) --json > security-report/ingestion-docker-base-slim-scan.json | true; .PHONY: snyk-report snyk-report: ## Uses Snyk CLI to run a security scan of the different pieces of the code