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:
Visit the Google Developers Console.
Choose a project you want to integrate with Semaphore.
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.
Next, click "Docker Registry".
Select the "Google Container Registry (GCR)" integration.
Enter your email and copy the contents of the JSON file you downloaded earlier from the Google Console.
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.
Semaphore Docs are open source — Edit on GitHub