<@U04S8PLJWMT> how can I deploy a connector with b...
# ask-ai
a
@kapa.ai how can I deploy a connector with bitbucket without docker hub?
k
You do not need to use Docker Hub to deploy a custom Airbyte connector. You can use any private Docker registry, including registries provided by cloud providers (like AWS ECR, Google Artifact Registry, Azure Container Registry), GitHub Container Registry, or even a self-hosted Docker registry. Bitbucket itself does not provide a Docker registry, but you can build your connector in your Bitbucket CI/CD pipeline and push the image to any of these registries. Here’s a high-level process: 1. Build and Tag Your Connector Image In your Bitbucket pipeline, build your connector Docker image and tag it appropriately:
Copy code
bash    docker build . -t <your-registry>/<your-namespace>/source-custom:0.1.0
2. Push to Your Chosen Registry Authenticate to your chosen Docker registry (not Docker Hub) and push the image:
Copy code
bash    docker push <your-registry>/<your-namespace>/source-custom:0.1.0
The exact authentication and push commands will depend on your registry provider. Refer to their documentation for details ([see Airbyte docs for links to provider guides](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors)). 3. Configure Airbyte to Use Your Registry - Ensure your Airbyte instance (whether on Docker Compose or Kubernetes) can authenticate and pull images from your chosen registry. - In the Airbyte UI, go to Settings → Sources or Destinations → Add a new Docker connector. - Enter the full image name and tag for your connector (e.g.,
<your-registry>/<your-namespace>/source-custom:0.1.0
). - Save and use your connector as usual. This process is registry-agnostic and does not require Docker Hub at any point. The key is that your Airbyte instance must be able to pull from the registry you choose, and you must push your image there from your CI/CD pipeline (such as Bitbucket Pipelines) [Uploading Docker-based custom connectors](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors) [Push your connector image to your private Docker registry](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors#3-push-your-connector-image-to-your-private-docker-registry) [Use your custom Docker connector in Airbyte](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors#4-use-your-custom-docker-connector-in-airbyte). If you need help with authentication for your specific registry, refer to your registry provider’s documentation.