registries parameter on ContainerImage, or under the app’s image.registries configuration in pyproject.toml. In pyproject.toml, this works with both dockerfile and image, and uses the same shape: registry host to username and password. Each registry uses a different authentication method, so follow the section below that matches your registry provider.
Dockerhub
pyproject.toml:
Google Artifact Registry
We recommend using a service account and setting a base64-encoded version of the key as a fal secret.
The same service account credentials can be configured in
pyproject.toml:
Amazon Elastic Container Registry (ECR)
ECR tokens expire every 12 hours. It’s best to auto-generate one on the fly usingboto3 and your AWS credentials.
pyproject.toml, generate the ECR password outside the config and store it as a fal secret. For example, with an authenticated AWS CLI: