File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ import App from " ../partials/replicated-cli/_app.mdx"
2+ import SkipValidation from " ../partials/replicated-cli/_skip-validation.mdx"
3+ import Token from " ../partials/replicated-cli/_token.mdx"
4+ import Help from " ../partials/replicated-cli/_help.mdx"
5+
6+ # registry add gar
7+
8+ Adds a Google Artifact Registry (GAR) using a service account key or token.
9+
10+ ## Usage
11+
12+ ``` bash
13+ replicated registry add gar [flags]
14+ ```
15+
16+ The following flags are supported:
17+
18+ <table >
19+ <tr >
20+ <th width = " 30%" >Flag</th >
21+ <th width = " 20%" >Type (if applicable)</th >
22+ <th width = " 50%" >Description</th >
23+ </tr >
24+ <App />
25+ <Help />
26+ <tr >
27+ <td ><code >--serviceaccountkey</code ></td >
28+ <td >string</td >
29+ <td >The service account key to use when authenticating to the registry.</td >
30+ </tr >
31+ <tr >
32+ <td ><code >--serviceaccountkey-stdin</code ></td >
33+ <td ></td >
34+ <td >Take the service account key from stdin.</td >
35+ </tr >
36+ <tr >
37+ <td ><code >--token</code ></td >
38+ <td >string</td >
39+ <td >The Google Cloud OAuth token to use when authenticating to the registry.</td >
40+ </tr >
41+ <tr >
42+ <td ><code >--token-stdin</code ></td >
43+ <td ></td >
44+ <td >Takes the Google Cloud OAuth token from stdin.</td >
45+ </tr >
46+ <SkipValidation />
47+ </table >
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ The following `registry add` commands are supported:
2828 <td ><a href = " replicated-cli-registry-add-ecr" ><code >replicated registry add ecr</code ></a ></td >
2929 <td >Adds an Amazon Elastic Container Registry (ECR).</td >
3030 </tr >
31+ <tr >
32+ <td ><a href = " replicated-cli-registry-add-gar" ><code >replicated registry add gar</code ></a ></td >
33+ <td >Adds a Google Artifact Registry (GAR).</td >
34+ </tr >
3135 <tr >
3236 <td ><a href = " replicated-cli-registry-add-gcr" ><code >replicated registry add gcr</code ></a ></td >
3337 <td >Adds a Google Container Registry (GCR).</td >
Original file line number Diff line number Diff line change @@ -726,6 +726,7 @@ const sidebars = {
726726 'reference/replicated-cli-registry-add' ,
727727 'reference/replicated-cli-registry-add-dockerhub' ,
728728 'reference/replicated-cli-registry-add-ecr' ,
729+ 'reference/replicated-cli-registry-add-gar' ,
729730 'reference/replicated-cli-registry-add-gcr' ,
730731 'reference/replicated-cli-registry-add-ghcr' ,
731732 'reference/replicated-cli-registry-add-other' ,
You can’t perform that action at this time.
0 commit comments