Comments (11)
Same issue when running multiple pushes on different actions on the same runner instance.
from amazon-ecr-login.
Nothing really more useful than OP provided sadly :/
The push refers to repository [***.dkr.ecr.eu-west-3.amazonaws.com/***]
00ae2f02e451: Preparing
e9857ac559f9: Preparing
a70a5126b72f: Preparing
4cdb6e4a61: Preparing
d8009a0aa7: Preparing
2421911654: Preparing
435699713645: Preparing
2231911654: Waiting
4b4b8ae407af: Preparing
6e8b10052d: Preparing
435699713645: Waiting
0d7f412381ae: Preparing
954edfb465a4: Preparing
47ad77: Preparing
4b4b8ae407af: Waiting
no basic auth credentials
Error: Process completed with exit code 1.
But I can easily reproduce it.
- Install 2 runners on the same server
- Run 2 CIs at the same time that will both try to push an image to ECR
from amazon-ecr-login.
Facing the same issue too.
from amazon-ecr-login.
Could you paste the exact error from your logs here, covering any sensitive information?
from amazon-ecr-login.
Could it be any of the issues mentioned here: https://docs.aws.amazon.com/AmazonECR/latest/userguide/common-errors-docker.html#error-403?
from amazon-ecr-login.
Pretty sure it's not:
You have authenticated to a different region
: Always using the same region, eu-west-3You have authenticated to push to a repository you don't have permissions for
: If I retry a few seconds later, it works so the runner has the right permissionYour token has expired
: I always do the ecr login before trying to push, so noBug in wincred credential manager
: The runner is on Linux
from amazon-ecr-login.
Got the same error for me in our GitHub self-hosted server having 3 runners in the same server. Can someone help? There is no issue with authentication creds with AWS.
My setup is using assume_role.
from amazon-ecr-login.
@RobinFrcd what was your workaround concerning this issue
from amazon-ecr-login.
@nerdeveloper To have the 2 runners on 2 different instances ...
from amazon-ecr-login.
OMG! I just knew it. but I thought you'd be able to make it work without having to do that. The solution to this is to increase costs.
@arjraman, any time to fix this issue
from amazon-ecr-login.
This is my workaround. I used the native docker login; you can use this if you choose to have multiple runners in one VM pending when this issue is fixed.
- name: Login into ECR
run: echo ::set-output name=logged-in::$(aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin [private ECR repo URL])
from amazon-ecr-login.
Related Issues (20)
- GH Actions - Fix path variable for setup_go action
- ECR login does not work with long branch names
- Node16 Deprecation HOT 2
- Masking Docker Credentials in Amazon ECR Login Action HOT 4
- Release v2 to enable the documented usage to work HOT 5
- Error: getaddrinfo ENOTFOUND api.ecr-public.ap-northeast-1.amazonaws.com HOT 3
- Passing ECR credentials to another job doesn't work HOT 7
- Building image and then reusing it fails HOT 2
- Deprecating set-output commands HOT 1
- Getting a Registry alias of a public ECR repository with ${{ steps.login-ecr-public.outputs.registry }}
- Docker Login fails with V2; Move from --password to --password-stdin HOT 1
- Node 16 Deprecation Warning HOT 1
- get error with v2 login HOT 1
- [Feature request] Remove dependency on docker client HOT 4
- Could not login to registry xxxxxxxx WARNING! Using --password via the CLI is insecure. Use --password-stdin. Error response from daemon: Get "https://xxxxxxxxxxxx.amazonaws.com/v2/": net/http: TLS handshake timeout HOT 1
- Update from Node 16 to Node 20 HOT 1
- Unable to login into a public ecr HOT 2
- Need ability to skip logout
- Action does not support EKS pod identities
- My self-hosted runner successes about only 1 time per one day. It stops at aws-action/amazon-ecr-login@v2. error message `INFO ProcessInvokerWrapper] Finished process xxxx with exit code 102` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-ecr-login.