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
configuration when using the Operator.
Update your Spinnaker installation
dockerRegistry: enabled: true primaryAccount: dockerhub accounts: - name: dockerhub requiredGroupMembership: providerVersion: V1 address: 012345678910.dkr.ecr.us-east-1.amazonaws.com 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.
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified December 9, 2022: (77a2e500)