From 6f7ca8828b69d2ad8700c26101495be2c6c8e81b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 19 Dec 2021 22:44:48 +0100 Subject: [PATCH] Update instructions for Google registry Signed-off-by: CrazyMax --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b98c8a8..cbf8631 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,8 @@ jobs: Use a service account with the ability to push to GCR and [configure access control](https://cloud.google.com/container-registry/docs/access-control). Then create and download the JSON key for this service account and save content of `.json` file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) -called `GCR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`. +called `GCR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`, +or `_json_key_base64` if you use a base64-encoded key. ```yaml name: ci @@ -172,7 +173,8 @@ jobs: Use a service account with the ability to push to GAR and [configure access control](https://cloud.google.com/artifact-registry/docs/access-control). Then create and download the JSON key for this service account and save content of `.json` file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) -called `GAR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`. +called `GAR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`, +or `_json_key_base64` if you use a base64-encoded key. ```yaml name: ci