From d8c14de78e8c47f68a45b0b560636f19832d1263 Mon Sep 17 00:00:00 2001 From: Alexey Igrychev Date: Wed, 10 Mar 2021 14:53:46 +0000 Subject: [PATCH] [readme] Add "Working with container registry" section --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index c03cdaa..eb3e5ae 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,21 @@ Any werf option can be defined with environment variables: WERF_LOG_VERBOSE: "on" ``` +## Working with container registry + +Due to the fact that the new GitHub container registry (`ghcr.io`) does not currently support removal, all actions default to the old one (`docker.pkg.github.com`). + +If necessary, the user can define an arbitrary container registry using the `WERF_REPO` and `WERF_REPO_CONTAINER_REGISTRY` environment variables. + +```yaml +- uses: werf/actions/converge@v1.2 + env: + WERF_REPO: "gcr.io/company/app" + WERF_REPO_CONTAINER_REGISTRY: "gcr" +``` + +To learn how to work with the different container registries, see the corresponding [article in the werf documentation](https://werf.io/documentation/advanced/supported_container_registries.html). + ## Examples ### converge