Docs Navigation

Setting up continuous delivery with a custom or on-premise container registry

Docker brought many good things to the world of distributed applications and containerization, and one of these things is the ability to have your own private container registries for Docker images.

Setting up your Custom Registry with Semaphore is pretty straightforward and quick.

If you haven't already enabled using Docker with your project, be sure to consult our documentation page on setting up continuous integration for a Docker project on Semaphore, and enable Docker integrations for your project.

Projects that are set up as Docker projects will have container registry integrations available as project add-ons.

Configuring the Custom Registry project add-on will enable you to push and pull your images without explicitly having to log into your Custom Registry during builds and deployments.

This can be done by visiting your project on Semaphore and clicking "Add-ons" in the upper right corner of your screen.

Click Project Add-ons

Next, click "Docker Registry".

Click Docker Registry

Select the "Custom Container Registry" integration.

Click Custom Container Registry integration

Next, you will be prompted with four input fields:

  • Username,
  • Email,
  • Password, and
  • Server — your custom registry server.

Custom Container Registry form

After you have entered your credentials, click "Save". All of your credentials will be encrypted and saved by Semaphore.

You can now push or pull images from your custom registry through Semaphore.

docker push your_registry_address/repository_name

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.