Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a workaround for ECR login issue #694

Open
BeyondEvil opened this issue Oct 18, 2024 · 0 comments
Open

Need a workaround for ECR login issue #694

BeyondEvil opened this issue Oct 18, 2024 · 0 comments

Comments

@BeyondEvil
Copy link

Describe the bug

Issue is described here: #106

To Reproduce
Output from action:

Prepare all required actions
Getting action download info
Download action repository 'aws-actions/configure-aws-credentials@v4' (SHA:e3dd6a4[2](https://github.com/cosafe/Cosafe-backend/actions/runs/11403725304/job/31731387083#step:4:2)9d7300a6a4c196c26e071d42e0343502)
Download action repository 'aws-actions/amazon-ecr-login@v2' (SHA:062b18b96a7aff071d4dc91bc00c4c1a7945b076)
Run ./.github/actions/services
Run aws-actions/configure-aws-credentials@v4
Assuming role with OIDC
Authenticated as assumedRoleId AROA6HTN[3](https://github.com/cosafe/Cosafe-backend/actions/runs/11403725304/job/31731387083#step:4:3)2XGPTQ66LG5V:GitHubActions
Run aws-actions/configure-aws-credentials@v4
Assuming role with user credentials
Authenticated as assumedRoleId AROATOGE[4](https://github.com/cosafe/Cosafe-backend/actions/runs/11403725304/job/31731387083#step:4:4)3EHEPQXTPKJP:GitHubActions
Run aws-actions/amazon-ecr-login@v2
Logging into registry public.ecr.aws
Error: Could not login to registry public.ecr.aws: WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error saving credentials: error storing credentials - err: exit status 1, out: `The stub received bad data.`

Expected behavior
I understand this is outside of this action to solve, but I think it's resonable to provide a working workaround.

Workarounds involving WSL doesn't work on Github Action Windows runners.

Desktop (please complete the following information):

  • OS: windows-2022 (GHA hosted runner image)
  • Version: 2.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant