question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When giving a public ECR like this (to push an image):

      - name: Login to Amazon ECR
        id: login-ecr
        uses: aws-actions/amazon-ecr-login@v1
        with:
          registries: public.ecr.aws/deadbeef

The step fails and gives the error:

Member must satisfy regular expression pattern: [0-9]{12}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:37
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
Malaxcommented, Jan 13, 2021

In case anyone has the same problem and is looking for a solution: https://github.com/docker/login-action can be used to login into public ECR.

6reactions
gmeligiocommented, May 11, 2022

It would be great if this action supports both private and public repositories. The name is intuitive, and developers have already tried to use it for both cases. One similar action that supports different types of repositories is docker/build-push-action and it’s a great experience. Thank you for your work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ECR Public Gallery
Amazon ECR Public Gallery is a website that allows anyone to browse and search for public container images, view developer-provided details, ...
Read more >
Amazon ECR public repositories
Amazon Elastic Container Registry provides API operations to create, monitor, and delete public image repositories and set permissions that control who can ...
Read more >
ecr-public — AWS CLI 2.9.8 Command Reference
Amazon ECR provides both public and private registries to host your container images. You can use the familiar Docker CLI, or their preferred...
Read more >
What Is Amazon Elastic Container Registry Public?
Amazon Elastic Container Registry Public is a managed Amazon container image registry service that is secure, scalable, and reliable. Amazon ECR supports ...
Read more >
AWS ECR Public Vulnerability - Lightspin Blog
The Amazon ECR Public Gallery is a public portal that lists all public repositories hosted on the Amazon ECR Public service.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found