From ecdd0b41583036cdae02b79c8d2d4b167e6f393f Mon Sep 17 00:00:00 2001 From: Greg DeKoenigsberg Date: Mon, 21 Dec 2020 05:39:01 -0500 Subject: [PATCH] Fix AWS ECR authentication docs (#781) The command you listed here did not work. The command from the official documentation did: https://docs.aws.amazon.com/AmazonECR/latest/userguide/getting-started-cli.html aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54dc42c3..00439b9d 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,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 --password-stdin .dkr.ecr..amazonaws.com +aws ecr get-login-password --region | docker login --username AWS --password-stdin .dkr.ecr..amazonaws.com docker build -t 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 @@ -431,4 +431,4 @@ We welcome pull requests! - You're welcome to submit a draft PR if you would like early feedback on an idea or an approach. - Happy coding! -[kube-bench-aws-security-hub]: ./docs/asff.md \ No newline at end of file +[kube-bench-aws-security-hub]: ./docs/asff.md