Default to GCR as the image registry if the provider is GCE or GKE.

This commit is contained in:
Madhusudan.C.S
2016-06-13 01:38:31 -07:00
parent 498168b4da
commit c7a4401359
2 changed files with 20 additions and 11 deletions

View File

@@ -266,8 +266,12 @@ Next, specify the docker repository where your ci images will be pushed.
* **If `KUBERNETES_PROVIDER=gce` or `KUBERNETES_PROVIDER=gke`**:
You can simply set your push repo base based on your project name, and the necessary repositories will be auto-created when you
first push your container images.
If you use the same GCP project where you to run the e2e tests as the container image repository,
FEDERATION_PUSH_REPO_BASE environment variable will be defaulted to "gcr.io/${DEFAULT_GCP_PROJECT_NAME}".
You can skip ahead to the **Build** section.
You can simply set your push repo base based on your project name, and the necessary repositories will be
auto-created when you first push your container images.
```sh
$ export FEDERATION_PUSH_REPO_BASE="gcr.io/${GCE_PROJECT_NAME}"