mirror of
https://github.com/werf/actions.git
synced 2026-02-05 02:46:23 +03:00
[readme] Add "Working with container registry" section
This commit is contained in:
15
README.md
15
README.md
@@ -77,6 +77,21 @@ Any werf option can be defined with environment variables:
|
||||
WERF_TAG_CUSTOM_TAG2: tag2
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
Reference in New Issue
Block a user