registry
A private container registry in your account.
A private container registry in your account, for images your services and builds push and pull.
ackee.ack
ackee 1project "shop" {cloud = "aws"region = "us-east-1"}registry "images" {}service "web" {image = var.WEB_IMAGEport = 80}connect iam "web" -> "images"
Fields
None. The name is all that means the same thing on every cloud; write registry "name" {}.
Any other field is refused (AK204), and the error names the exact type to declare with node for the setting you wanted.
What it becomes
| Cloud | Becomes |
|---|---|
| AWS | An ECR repository with immutable tags. |
| Google Cloud | An Artifact Registry Docker repository. |
| Azure | An Azure Container Registry, basic SKU. |
Joins the shared network net: Azure only.
What a connection hands over
An env connection to a registry gives the consumer these variables, each prefixed by the registry's name in upper case — registry "orders" gives ORDERS_…:
| Cloud | Variables |
|---|---|
| AWS | _REGISTRY, _REGION |
| Google Cloud | _REGISTRY |
| Azure | _SERVER |
Notes
- Pulling images from it needs
connect iamfrom the service to the registry.