Skip to main content

Registry

A container registry is a repository, or collection of repositories, used to store container images for container-based application development.

Flinkwerk provides a default registry where it stores container images which it has built as part of your Flinkwerk project. If you define a custom Dockerfile in your project folder, Flinkwerk will build a multi-arch image and push it to the default registry.

Custom registries can be defined as global resources in the project configuration as shown below.

registry: my-registry

global:
my-registry:
type: registry
push_path: /my-path
server: registry.my-org.io
email: $MY_REGISTRY_EMAIL
user: $MY_REGISTRY_EMAIL
password: $MY_REGISTRY_PASSWORD

After you configure your custom registry named my-registry in the global.[name] field, you assign it to your project by providing its name to the registry field. Flinkwerk will now use your custom registry to store container images based on a Dockerfile contained in your project.