Skip to content

DigitalOcean.Container Registry reference

Source: packages/digitalocean/src/Registry.ts

The DigitalOcean Container Registry: a private Docker registry for the team. A team has one registry, so a stack should declare it once. tier updates the team’s subscription in place; name and region replace the registry, deleting every image in it.

Alchemy owns a registry it recorded; a registry that already exists on the team is Unowned and needs --adopt.

The free starter tier

const registry = yield* DigitalOcean.Registry("registry", { name: "acme" });
// docker push registry.digitalocean.com/acme/app:latest

More repositories on the basic tier

const registry = yield* DigitalOcean.Registry("registry", {
name: "acme",
tier: "basic",
region: "fra1",
});