Skip to content

Amazon ECR

Use ECR repositories with workload identity, no stored keys.

Category Registries & artifact repositories
Authentication IAM role via OIDC (no static keys)
Provider id ecr
  • Repository and tag listing
  • Digest resolution
  • Push from build steps (aws ecr get-login-password replaced by federation)
  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: ecr
config:
region: eu-west-1
account_id: "123456789012"
role_arn: arn:aws:iam::123456789012:role/slipway-ecr-read

See OIDC with AWS for the trust policy.