From 46d4d846b5b0da605933ec9943366c58f84c9d22 Mon Sep 17 00:00:00 2001 From: bugficks Date: Wed, 15 Jul 2020 19:56:01 +0200 Subject: [PATCH] Update private-registries.md (#597) Fix gcloud username and example --- docs/private-registries.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/private-registries.md b/docs/private-registries.md index dab0c46..23955b1 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -32,9 +32,11 @@ echo -n 'username:password' | base64 > ### ℹ️ Username and Password for GCloud > -> For gcloud, we'll use `__json_key` as our username and the content +> For gcloud, we'll use `_json_key` as our username and the content > of `gcloudauth.json` as the password. - +>```bash +> echo -n "_json_key:$(cat gcloudauth.json)" | base64 -w0 +>``` When the watchtower Docker container is started, the created configuration file (`/config.json` in this example) needs to be passed to the container: