Integrate DockerHub in Codefresh pipelines
To configure Docker Hub so that your pipelines can push images to it, first select Docker Hub from the new registry drop down and then provide the following:
- Registry Name - A unique name for this configuration
- Username - Docker Hub username
- Password - Docker Hub password
Note that Docker.io only allows you to push images that are tagged with your username. If you have a choice, create a Dockerhub account with the same username that you have in Codefresh. If not, you need to change the Docker image created to match your username
Adding more Dockerhub integrations
You can add additional Dockerhub accounts by using the Other Registries option from the drop-down.
Use your Dockerhub credentials and
docker.com as the domain.
Use the appropriate
registry name value in your pipelines in order to decide which Dockerhub account will be used.