Questions tagged [aws-ecr]

Use this tag if a question is about AWS ECR.

ECR stands for Elastic Container Registry.

14 questions
10
votes
1 answer

Automate custom docker image deployment on AWS

This question is related to my previous one - but a bit more descriptive. I am trying to build automate the generation and deployment of a docker container. The docker container is created with packer. After the creation of the docker image, I am…
Kyu96
  • 145
  • 3
  • 17
3
votes
1 answer

How to set 'image tag mutability' using CloudFormation?

When one would like to create an Elastic Container Registry then it is possible to set 'image tag mutability': Image tag mutability The image tag mutability setting for the repository. Select "immutable" to prevent image tags from being overwritten…
030
  • 13,383
  • 17
  • 76
  • 178
3
votes
0 answers

Spinnaker not showing images in pipeline trigger

I have a Spinnaker pipeline which I am trying to add an automated trigger from an ECR repo. Spinnaker lets me add the docker registry as per the following spinnaker doc link, however I am unable to select an image when setting up the trigger. I've…
joshk132
  • 465
  • 10
  • 22
2
votes
1 answer

AWS ECR Public gives error in CLI

I am trying to push my Nest.js app to an AWS ECR in a public repo. I created an IAM user and attached AdminstratorAccess policy to it and then generated a private key. When I type the following command in cmd: aws ecr-public get-login-password…
2
votes
3 answers

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

We are using CircleCI to automate the building of images when merges are detected on our release branch. Those images are then being pushed to ECR, but I am unsure of the best way to refresh some or all of the pods running the outdated images, and…
2
votes
1 answer

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

I'm writing a CI pipeline using GitHub Actions. The pipeline will build a Docker image, which it will then push to our Docker repository (AWS ECR). In order to talk to ECR, we'll need to provide a secret (and some other details). That secret we'll…
JohnLBevan
  • 315
  • 1
  • 3
  • 11
2
votes
2 answers

Configure VPC for ECR access

I am creating my infrastructure with Ansible. I create a VPC and an ECS cluster where I use Fargate to run my docker containers. When the tasks are started I am prompted that the task was not able to pull the Image from the ECR. STOPPED…
Kyu96
  • 145
  • 3
  • 17
2
votes
0 answers

Issue with Spinnaker automated trigger

I am trying to get Spinnaker to have a pipeline use an automated trigger which is an image pushed to an ECR repo. I can add different repos fine but can't seem to see the images. I am following this guide and below is the example code I followed…
joshk132
  • 465
  • 10
  • 22
1
vote
2 answers

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

GitLab and GitLab runners are running on the same host (I know how bad it is). There is an IAM Role attached to the EC2 on which GitLab is running. This IAM Role gives the permission to perform some actions on multi-account ECR's. Runners use docker…
Kaymaz
  • 355
  • 2
  • 8
1
vote
1 answer

Cloudformation template with EC2 using docker compose

I'm relatively new to Cloudformation, and had a few questions about my template and best practices. I'm facing a few hurdles, and there is a lot of information out there, it's a bit overwhelming, so any feedback would be highly appreciated. I'm not…
0
votes
1 answer

Listing tags on an ECR pull through cache

If I list the tags in an ECR repository that is configured as a Pull-Through Cache, will my client receive the full list of tags available from upstream or only the subset of tags that have already been cached? (For context, say I'm setting up a…
benjimin
  • 339
  • 4
  • 13
0
votes
1 answer

Run the latest image from ECR on EKS

I have a CircleCI set-up to push docker images to ECR, similar to this question here: What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR My question is two-fold: I've read that the latest tag is an anti-pattern…
0
votes
1 answer

AWS ECS Update with new docker image

I've setup a cluster on AWS ECS, it's hosting nginx and a webapp. I've used these commands to create my resources aws ecr create-repository --repository-name ecs-cli configure --cluster --region eu-west-3 --config-name…
Felix Eklöf
  • 239
  • 2
  • 9
0
votes
2 answers

unable to login using docker registry on jenkins

I have a Jenkinsfile that I need to login to ECR. this is the relevant section script { docker.withRegistry('https://01234.dkr.ecr.ap-southeast-1.amazonaws.com/', 'awsId'){ def image =…