From 674d8e8bb7562fd806f2bfdb58fb64cccdb29293 Mon Sep 17 00:00:00 2001 From: za Date: Mon, 30 Sep 2024 13:13:10 +0700 Subject: [PATCH] Update command to build docker to run in EKS cluster (#1648) because with the previous command unable to get the argument. Issue: https://github.com/aquasecurity/kube-bench/issues/1647 Co-authored-by: za --- docs/running.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/running.md b/docs/running.md index 0ee670f..e3eb06f 100644 --- a/docs/running.md +++ b/docs/running.md @@ -92,7 +92,7 @@ aws ecr create-repository --repository-name k8s/kube-bench --image-tag-mutabilit git clone https://github.com/aquasecurity/kube-bench.git cd kube-bench aws ecr get-login-password --region | docker login --username AWS --password-stdin .dkr.ecr..amazonaws.com -docker build -t k8s/kube-bench . +make build-docker IMAGE_NAME=k8s/kube-bench docker tag k8s/kube-bench:latest .dkr.ecr..amazonaws.com/k8s/kube-bench:latest docker push .dkr.ecr..amazonaws.com/k8s/kube-bench:latest ```