ackee
Docs/Ackee Script

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 1
​
project "shop" {
cloud = "aws"
region = "us-east-1"
}
​
registry "images" {}
​
service "web" {
image = var.WEB_IMAGE
port = 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

CloudBecomes
AWSAn ECR repository with immutable tags.
Google CloudAn Artifact Registry Docker repository.
AzureAn 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_…:

CloudVariables
AWS_REGISTRY, _REGION
Google Cloud_REGISTRY
Azure_SERVER

Notes

  • Pulling images from it needs connect iam from the service to the registry.