By default, Northflank stores all build images in Northflank's managed Docker registry. If your organization requires builds to push to your own Docker registry instead, you can use a custom build registry integration.
This feature lets you store built images in your cloud provider's container registry (Azure, AWS, or GCP) instead of Northflank's managed registry. This is useful if you need to maintain images in your own infrastructure, comply with internal policies, or integrate with existing registry workflows.
Prerequisites
Before setting up a custom build registry, you need:
-
A provider link: You must have created a provider link with your cloud provider (Azure, AWS, or GCP) in your team integrations. Learn how to set up a provider link
-
Required permissions enabled: Your cloud provider integration must have these features enabled:
- Docker Registries: Allows pulling images from your registry
- Docker Registry Push: Allows pushing built images to your registry
If these features are not enabled, you cannot use that provider link for custom build registries.
-
New project: Custom build registries can only be configured when creating a new project, not on existing projects. This is because the registry setting is applied at the project level during creation.
How it works
When you configure a custom build registry in a project:
- Northflank builds your code using your Dockerfile or buildpacks
- Instead of pushing the built image to Northflank's managed registry, it pushes directly to your cloud provider's Docker registry
- Your deployments pull from your custom registry instead of Northflank's
This gives you full control over where your built images are stored and who can access them through your cloud provider's access controls.
Add a custom Docker registry
-
Navigate to Integrations in your team settings
-
Click Registries → Add registry
-
Enter a registry name and select your container registry provider (Azure, AWS, or GCP)
-
Select an existing provider integration or create a new one for Azure, AWS, or GCP Learn how to set up a provider integration
-
Enter the provider-specific registry settings:
- GCP: Registry URL and project ID
- AWS: Registry URL and region
- Azure: Registry URL and resource group
-
Under Select the permissions you want to grant to this registry, enable Push access (write images)
-
Click Add registry
The registry is now available for use in new projects.
Use in a project
-
Create a new project
-
Under Advanced options, expand Docker Registry settings
-
Set Registry Mode to Self Hosted
-
Under Registry, select your custom registry integration
-
Click Create project
All builds in this project will now push images to your custom registry instead of Northflank's managed registry. When you deploy these images, Northflank automatically pulls from your custom registry. Learn more about creating a project
Next steps
Build from a Git repository
Start building from your linked Git repositories in minutes.
Inject build arguments
Pass secrets and configuration settings to your builds.
Run an image continuously
Deploy a built image as a continuously-running service.
Run an image once or on a schedule
Run an image manually or on a cron schedule.