Update private-registries.md (#597)

Fix gcloud username and example
This commit is contained in:
bugficks 2020-07-15 19:56:01 +02:00 committed by GitHub
parent eb4e0bb615
commit 46d4d846b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
(`<PATH>/config.json` in this example) needs to be passed to the container: