Skip to content

GitHub Container Registry

Use GHCR images as release artifacts.

Category Registries & artifact repositories
Authentication GitHub App or PAT with read:packages
Provider id ghcr
  • Repository and tag listing
  • Digest resolution
  1. Create a read (and optionally push) credential in the registry; prefer short-lived or workload-identity credentials.
  2. In Settings, Integrations, add the registry and store the credential as a Slipway secret reference.
  3. Use it as a service artifact source, or reference it from slipway/docker-build@v1 for pushes.

Illustrative configuration. Non-secret settings are stored as integration config; credentials are stored as encrypted Slipway secrets and referenced by name.

provider: ghcr
config:
owner: acme
credentials: secret://GHCR_TOKEN