Docs Navigation

Setting up continuous delivery with Google Container Registry

Google Container Registry is a private container registry for managing Docker images. In order to use Google Container Registry (GCR), you will need a Google account.

Setting up Google Container Registry (GCR) for your project is simple and straightforward.

If your project is not set up as a Docker project, you should check out our documentation page on setting up continuous integration for a Docker project on Semaphore for more information.

Configuring your project as a Docker project will enable you to set up Docker registry integrations in project add-ons.

By adding the Google Container Registry integration, you will be able to push and pull images effortlessly, without having to worry about authentication.

In order to get the data needed for enabling the GCR integration, you will need to:

  1. Visit the Google Developers Console.

  2. Choose a project you want to integrate with Semaphore.

Select Project on Google Developers Console

  1. Click "IAM & Admin" in the left-hand menu.

Select IAM & Admin on Google Developers Console

  1. Go to "Service accounts" and click "Create service account".

Click Create service account on Google Developers Console

  1. Type in a name that is meaningful to you. We named the account Semaphore, since we are making an integration with Semaphore. Tick "Furnish a new private key", and leave "JSON" selected. Finally, click "Create", and the public/private key JSON file will be saved to your disk.

Create Service account on Google Developers Console

Store this file somewhere safe — you won't be able to retrieve it again from the Google Console.

Visit your project on Semaphore, and click "Add-ons" in the upper right corner of your screen.

Click Project Add-ons

Next, click "Docker Registry".

Click Docker integrations

Select the "Google Container Registry (GCR)" integration.

Click Google Container Registry

Enter your email and copy the contents of the JSON file you downloaded earlier from the Google Console.

Copy Google Container Registry JSON file

Once you've copied the contents, click "Save". Semaphore will safely encrypt and store your Google credentials.

You can now push or pull images from Google Container Registry through Semaphore.

Happy building!

Semaphore Docs are open source — Edit on GitHub

Newsletter

Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.