Deploy

Prebuilt images

A resource can run an image you built elsewhere — no Dockerfile, no build step. Set Image on the Deploy tab (or image on the API), e.g. ghcr.io/you/app:1.4.2.

The image must come from a public registry (Docker Hub, ghcr.io, ECR Public, your own registry on a public hostname); a registry on a private network address is refused.

For a private image, add registry credentials beside it: server (ghcr.io), username, and a token. They are encrypted at rest, never shown again, and used only to pull that resource — the host logs in per project, so one client's credentials can never pull another's image. Over the API:

{ "name": "web", "source": "image",
  "image": "ghcr.io/you/app:1.4.2",
  "registryAuth": { "server": "ghcr.io", "username": "you", "password": "ghp_…" } }

Send "registryAuth": null on a PATCH to forget stored credentials. A new tag is picked up by restarting the resource.

Something wrong or missing here? Tell us and a person will answer.