From 0100bb035c443089a16a82992167edec7f31e525 Mon Sep 17 00:00:00 2001 From: Dobes Vandermeer <dobesv@gmail.com> Date: Fri, 23 Dec 2022 11:34:21 -0800 Subject: [PATCH] Add AWS ECR auth example to docker docs (#19556) --- docs/usage/docker.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/usage/docker.md b/docs/usage/docker.md index 6bf8251a95..298e5c388b 100644 --- a/docs/usage/docker.md +++ b/docs/usage/docker.md @@ -246,6 +246,23 @@ module.exports = { }; ``` +#### AWS ECR (Amazon Web Services Elastic Container Registry) + +Renovate can authenticate with AWS ECR using AWS access key id & secret as the username & password, for example: + +```json +"hostRules": [ + { + "hostType": "docker", + "matchHost": "12345612312.dkr.ecr.us-east-1.amazonaws.com", + "username": "AKIAABCDEFGHIJKLMNOPQ", + "encrypted": { + "password": "w...A" + } + } + ] +``` + #### Google Container Registry / Google Artifact Registry ##### Using long-lived service account credentials -- GitLab