Connect Spinnaker to Amazon Elastic Container Registry

Learn how to configure Spinnaker to connect to AWS ECR.

Adding ECR as a Docker registry

When configuring a registry, you normally use standard SpinnakerService configuration when using the Operator.

Update your Spinnaker installation

  enabled: true
  primaryAccount: dockerhub
  - name: dockerhub
    providerVersion: V1
    username: AWS 
    passwordCommand: "aws --region ue-east-2ecr get-authorization-token --output text --query 'authorizationData[].authorizationToken' | base64 -d | sed 's/^AWS://"

Success! Now you will be able to use ECR as a Docker registry in the configuration stage.

Last modified December 9, 2022: (77a2e500)