- Notifications
You must be signed in to change notification settings - Fork165
CR-4360 google artifact registry#312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions_docs/integrations/docker-registries/google-artifact-registry.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "Google Artifact Registry" | ||
| description: "Learn how to use Google Artifacrt Registry with Codefresh pipelines" | ||
| group: integrations | ||
| sub_group: docker-registries | ||
| toc: true | ||
| --- | ||
| To configure Google Artifact Registry, select Google Artifact Registry from the new registry drop down and then provide the following: | ||
| * Registry Name - A unique name for this configuration. | ||
| * Key File - The contents of a JSON key file. See below for [instructions](#generating-a-json-key-file). | ||
| ## Generating a JSON key file | ||
| The JSON key file holds your credentials for a given [Service Account](https://cloud.google.com/compute/docs/access/service-accounts). To generate your key file, follow these instructions: | ||
| 1. Go to your [Cloud Platform Console Credentials page](https://console.cloud.google.com/apis/credentials). | ||
| 2. Select the project that you want to use for the credentials. | ||
| 3. To set up a new service account, click **Create credentials** and then select Service account key. | ||
| 4. Choose the service account to use for the key. | ||
| 5. Choose to download the service account's public/private key as a JSON file. | ||
| You can find the complete guide [here](https://support.google.com/cloud/answer/6158849#serviceaccounts). | ||
| ## Working with multiple projects | ||
| If you have more than one repository/project in Google Cloud, you can connect multiple Artifact Registries and define one as the “primary” for the `*docker.pkg.dev` domain. | ||
| This option means that every time Codefresh needs to pull an image, it will use that integration. If you wish to use another project to pull images, you can use the `registry_context` property as described in [working with multiple registries]({{site.baseurl}}/docs/docker-registries/working-with-docker-registries/#working-with-multiple-registries-with-the-same-domain). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.