Hot answers tagged

4 votes

Configure VPC for ECR access

This error CannotPullContainerError usually occurs when you have no access to the Internet from ECS and thus it doesn't able to pull an image from registry. Make sure you have networking configured ...
3 votes
Accepted

How to set 'image tag mutability' using CloudFormation?

The ImageTagMutability property in ECR is not currently supported in CloudFormation, as verified by experimentation (nor is it part of the LifecyclePolicy property). There is sometimes lag between ...
  • 201
3 votes
Accepted

Automate custom docker image deployment on AWS

I will give it a try and explain all required steps with examples. Please add comments with questions and improvement suggestions if anything is not well enough explained. The OP (original poster) ...
2 votes

What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR

The 'best approach' in a theory (coming from the perspective of k8s) would be GitOps: Cloud-native Continuous Deployment. Your question lack some important information, how are you doing your ...
  • 614
2 votes

AWS ECS Update with new docker image

AWS container service team member here. IF you are still early on in your journey to automate this via a CLI I would suggest you consider moving past the ecs-cli. The follow-on version of this CLI is ...
  • 236
1 vote

GitLab runner not able to fetch AWS ECR images in the current AWS account

I use this script in gitlab-ci.yml image: docker:19.03 services: - docker:19.03.0-dind before_script: - $(aws ecr get-login --no-include-email --region eu-central-1) ... and provide ...
1 vote
Accepted

How to protect secrets whilst enabling the ability to amend a pipeline

Developers or even admins of your GitHub repository wouldn't be able to see secrets configured there by default. Even if you debug GitHub Actions workflows and accidentally log secrets, GitHub would ...
  • 777
1 vote

unable to login using docker registry on jenkins

I think what you are doing wrong is the way you specify the credentialID to be used. Instead of 'awsId' try to use 'ecr:ap-southeast-1:awsId' docker.withRegistry('https://01234.dkr.ecr.ap-southeast-...
  • 121
1 vote

Configure VPC for ECR access

ECR needs authentication and authorization before you can pull an image. In your ansible ecs_taskdefinition, please make sure you have parameter task_role_arn or execution_role_arn pointing to a role ...
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible