You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/integrations/gcloud-builder.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ toc: true
7
7
8
8
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.
9
9
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).
11
11
12
12
13
13
## Prerequisites
@@ -30,18 +30,18 @@ You will use this JSON file either by integrating a [Google Docker registry]({{s
30
30
31
31
The Google Cloud builder integration/authentication can be used in the following ways:
32
32
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.
35
35
* Is pushed to any other [external registry connected to Codefresh]({{site.baseurl}}/docs/integrations/docker-registries/).
36
36
1. Authentication is defined in the pipeline itself, and the resulting image can be pushed to any registry connected to Codefresh
37
37
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.
caption="Using the JSON service account in Codefresh"
47
47
max-width="50%"
@@ -51,7 +51,7 @@ In the first case, you will define the service account file centrally in the GCR
51
51
52
52
## Using Google Cloud builder in a Codefresh pipeline
53
53
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.
55
55
56
56
{% include image.html
57
57
lightbox="true"
@@ -81,7 +81,7 @@ steps:
81
81
image_name: my-golang-image
82
82
working_directory: ./
83
83
tag: slim
84
-
registry: gcr
84
+
registry: gar
85
85
dockerfile: Dockerfile.multistage
86
86
provider:
87
87
type: gcb
@@ -115,7 +115,7 @@ The Docker image is also visible in the Google Cloud Console view of your regist
115
115
116
116
### Pushing to a different registry
117
117
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.
119
119
To push the Docker image to another connected registry, simply change the `registry` property in the build step.
120
120
121
121
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/).
|`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 |
243
243
|`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 |
245
245
|`cache`| The list of Kaniko cache parameters | Required |
246
246
|`repo`| Docker repository path for the Kaniko cache | Required |
247
247
|`ttl`| Kaniko cache retention. Default value is `336h`| Optional |
Copy file name to clipboardExpand all lines: _docs/integrations/google-cloud.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Codefresh has native support for Google Cloud in the following areas:
19
19
20
20
## Using Google Container Registries
21
21
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/).
23
23
24
24
{{site.data.callout.callout_warning}}
25
25
**IMPORTANT**
@@ -30,10 +30,10 @@ The name assigned to the integration must be unique within the account. Using th
0 commit comments