Skip to content

Commit 01342d4

Browse files
chore(CR-26067): corrected GCR to GAR (#1368)
* corrected GCR to GAR
1 parent 269f25d commit 01342d4

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

_docs/integrations/gcloud-builder.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toc: true
77

88
Google Cloud builder is an online service that allows you to build Docker images using the Google infrastructure and also push them to the Google Cloud registry.
99

10-
You can also use Cloud builder in a Codefresh pipeline in place of the standard [build step]({{site.baseurl}}/docs/pipelines/steps/build/). This way you can take advantage of the Cloud builder in your Codefresh pipelines, but still push to other registries that are connected to Codefresh (and not just GCR).
10+
You can also use Cloud builder in a Codefresh pipeline in place of the standard [build step]({{site.baseurl}}/docs/pipelines/steps/build/). This way you can take advantage of the Cloud builder in your Codefresh pipelines, but still push to other registries that are connected to Codefresh (and not just GAR).
1111

1212

1313
## Prerequisites
@@ -30,18 +30,18 @@ You will use this JSON file either by integrating a [Google Docker registry]({{s
3030

3131
The Google Cloud builder integration/authentication can be used in the following ways:
3232

33-
1. Authentication is retrieved from the GCR integration in your Codefresh account, and the resulting Docker image:
34-
* Is also be pushed to GCR.
33+
1. Authentication is retrieved from the GAR integration in your Codefresh account, and the resulting Docker image:
34+
* Is also be pushed to GAR.
3535
* Is pushed to any other [external registry connected to Codefresh]({{site.baseurl}}/docs/integrations/docker-registries/).
3636
1. Authentication is defined in the pipeline itself, and the resulting image can be pushed to any registry connected to Codefresh
3737

38-
In the first case, you will define the service account file centrally in the GCR integration screen, and then any pipeline can authenticate to Google Cloud builder without any further configuration.
38+
In the first case, you will define the service account file centrally in the GAR integration screen, and then any pipeline can authenticate to Google Cloud builder without any further configuration.
3939

4040
{%
4141
include image.html
4242
lightbox="true"
43-
file="/images/integrations/docker-registries/add-gcr-registry.png"
44-
url="/images/integrations/docker-registries/add-gcr-registry.png"
43+
file="/images/integrations/docker-registries/add-gar-registry.png"
44+
url="/images/integrations/docker-registries/add-gar-registry.png"
4545
alt="Using the JSON service account in Codefresh"
4646
caption="Using the JSON service account in Codefresh"
4747
max-width="50%"
@@ -51,7 +51,7 @@ In the first case, you will define the service account file centrally in the GCR
5151

5252
## Using Google Cloud builder in a Codefresh pipeline
5353

54-
In the most straightforward scenario, you want to create a Docker image with Google Cloud builder and also push to GCR.
54+
In the most straightforward scenario, you want to create a Docker image with Google Cloud builder and also push to GAR.
5555

5656
{% include image.html
5757
lightbox="true"
@@ -81,7 +81,7 @@ steps:
8181
image_name: my-golang-image
8282
working_directory: ./
8383
tag: slim
84-
registry: gcr
84+
registry: gar
8585
dockerfile: Dockerfile.multistage
8686
provider:
8787
type: gcb
@@ -115,7 +115,7 @@ The Docker image is also visible in the Google Cloud Console view of your regist
115115

116116
### Pushing to a different registry
117117

118-
Even though the Cloud builder pipeline step authentication is fetched from the GCR configuration, you don't have to push to GCR.
118+
Even though the Cloud builder pipeline step authentication is fetched from the GAR configuration, you don't have to push to GAR.
119119
To push the Docker image to another connected registry, simply change the `registry` property in the build step.
120120

121121
The pipeline in the example below pushes the Docker image created to another registry that is identified by [Azure]({{site.baseurl}}/docs/integrations/docker-registries/azure-docker-registry/).
@@ -241,7 +241,7 @@ The extra fields are:
241241
| ------------------------------------------ | ------------------------------------------------------ | ------------------------- |
242242
| `type` | Defines which provider to use (currently `gcb` and `cf` types are available). It uses `cf` provider by default and the whole provider section can be omitted for a regular build step. | Required |
243243
| `arguments` | Parameters for Google Cloud builder | Required |
244-
| `google_app_creds` | base64 encoded string of the [Google app credentials JSON](https://cloud.google.com/docs/authentication/production){:target="\_blank"}. By default, taken from the existing GCR integration. | Optional |
244+
| `google_app_creds` | base64 encoded string of the [Google app credentials JSON](https://cloud.google.com/docs/authentication/production){:target="\_blank"}. By default, taken from the existing GAR integration. | Optional |
245245
| `cache` | The list of Kaniko cache parameters | Required |
246246
| `repo` | Docker repository path for the Kaniko cache | Required |
247247
| `ttl` | Kaniko cache retention. Default value is `336h` | Optional |

_docs/integrations/google-cloud.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Codefresh has native support for Google Cloud in the following areas:
1919

2020
## Using Google Container Registries
2121

22-
Google Container registries are fully compliant with the Docker registry API that Codefresh follows. You can connect GCR like any [other Docker registry]({{site.baseurl}}/docs/integrations/docker-registries/google-container-registry/).
22+
Google Container registries are fully compliant with the Docker registry API that Codefresh follows. You can connect GAR like any [other Docker registry]({{site.baseurl}}/docs/integrations/docker-registries/google-container-registry/).
2323

2424
{{site.data.callout.callout_warning}}
2525
**IMPORTANT**
@@ -30,10 +30,10 @@ The name assigned to the integration must be unique within the account. Using th
3030
{%
3131
include image.html
3232
lightbox="true"
33-
file="/images/integrations/docker-registries/add-gcr-registry.png"
34-
url="/images/integrations/docker-registries/add-gcr-registry.png"
35-
alt="Connecting to GCR"
36-
caption="Connecting to GCR"
33+
file="/images/integrations/docker-registries/add-gar-registry.png"
34+
url="/images/integrations/docker-registries/add-gar-registry.png"
35+
alt="Connecting to GAR"
36+
caption="Connecting to GAR"
3737
max-width="70%"
3838
%}
3939

53.9 KB
Loading
-28.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)