diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-09-12 14:45:10 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-09-12 16:26:58 +0200 |
| commit | 9296c80bbce49adf175bb56d59ebf614b54ca190 (patch) | |
| tree | af0bafef561f43ba34768de137e3b919a004c76d /docs/contributing.md | |
| parent | ce441f065b6eebb166bb006dfd28ea0c6b730384 (diff) | |
tools/docker: mirror images on github
Some users don't have access to the gcr.io registry.
Mirror images on github as well.
Diffstat (limited to 'docs/contributing.md')
| -rw-r--r-- | docs/contributing.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/contributing.md b/docs/contributing.md index 164af916d..158086eba 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -127,3 +127,16 @@ To update `syz-env` container to the latest version do: ``` bash docker pull gcr.io/syzkaller/env ``` + +If you do not have access to the `gcr.io` registry, there is also a mirror in `docker.pkg.github.com` registry. +In order to use it, you need to +[authenticate Docker](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages) +with your Github account with: +``` +docker login https://docker.pkg.github.com +``` +and then pull the image and retag it to the name expacted by `syz-env`: +``` +docker pull docker.pkg.github.com/google/syzkaller/env +docker tag docker.pkg.github.com/google/syzkaller/env gcr.io/syzkaller/env +``` |
