Configuring your Semaphore account with Docker Hub is smooth and fast, and it will only take a minute of your time.
If your project is set up to use Docker, all Docker container registry integrations will be available in your project add-ons. For more information on how to set up a Docker project on Semaphore, you can read Setting up continuous integration for a Docker project on Semaphore.
Configuring the Docker Hub project add-on will enable you to push and pull your images without having to log into Docker Hub during builds and deployments, making your CI and CD process faster. This can be done by visiting your project on Semaphore and clicking "Add-ons" in the upper right corner of your screen.
Next, click "Docker Registry".
Select the "Docker Hub" integration.
You will be prompted with two input fields, requiring your Docker Hub Username and Password. These credentials will be encrypted and stored safely by Semaphore.
After you've entered your credentials, click "Save".
You can now push or pull images from Docker Hub through Semaphore.
docker push dockerhub_username/repository_name
Semaphore Docs are open source — Edit on GitHub