Merge pull request #2200 from clonn/patch-1
gcloud registry auth step for docker build
This commit is contained in:
commit
bad3b76963
|
@ -8,6 +8,7 @@ weight: 2
|
||||||
|
|
||||||
- [Git](https://git-scm.com/downloads)
|
- [Git](https://git-scm.com/downloads)
|
||||||
- [Docker](https://www.docker.com/products/docker/) `>= 17.12`
|
- [Docker](https://www.docker.com/products/docker/) `>= 17.12`
|
||||||
|
- [gcloud](https://cloud.google.com/sdk/install)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +22,17 @@ Choose the setup the best suits your needs.
|
||||||
- [A.2) Don't have a PHP project yet](#A2)
|
- [A.2) Don't have a PHP project yet](#A2)
|
||||||
- [B) Setup for Multiple Projects](#B)
|
- [B) Setup for Multiple Projects](#B)
|
||||||
|
|
||||||
|
### Setup gcloud for docker registry
|
||||||
|
|
||||||
|
```
|
||||||
|
gcloud auth configure-docker
|
||||||
|
```
|
||||||
|
|
||||||
|
and login to gcloud for use the registry and auth the permission.
|
||||||
|
|
||||||
|
```
|
||||||
|
gcloud auth login
|
||||||
|
```
|
||||||
|
|
||||||
<a name="A"></a>
|
<a name="A"></a>
|
||||||
### A) Setup for Single Project
|
### A) Setup for Single Project
|
||||||
|
|
Loading…
Reference in New Issue