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

Could not find credentials for me-central-1 region #171

Open
fayas-akram opened this issue Dec 6, 2023 · 4 comments
Open

Could not find credentials for me-central-1 region #171

fayas-akram opened this issue Dec 6, 2023 · 4 comments
Labels

Comments

@fayas-akram
Copy link

Jenkins and plugins versions report

Environment
CLOUD: AWS
ENV: Production

What Operating System are you using (both controller, and any agents involved in the problem)?

amazon linux 2.

Reproduction steps

  1. Add build steps for UAE region and try to login ECR
    docker.withRegistry('https://xxxxxx.dkr.ecr.me-central-1.amazonaws.com', 'ecr:me-central-1:xxxxxxx') {}

Expected Results

Success

Actual Results

ERROR: Could not find credentials matching ecr:me-central-1:XXXXXX

Anything else?

the plugging works with other regions. it fails for me-central-1 region

Are you interested in contributing a fix?

Yes

@fayas-akram fayas-akram added the bug label Dec 6, 2023
@TobiX
Copy link
Contributor

TobiX commented Dec 7, 2023

Looks like #31?

@TobiX
Copy link
Contributor

TobiX commented Dec 7, 2023

Could you provide me with some test credentials privately? It's okay if they expire after some weeks, but I'd need to reproduce the issue, so that I'll be able to fix it...

@Tesseract99
Copy link

If I am not wrong,this issue comes when the credentials you have declared in Jenkins / credentials section are NOT of kind "AWS credentials". But, of some other type like - "username and password"

@najmi9
Copy link

najmi9 commented Jan 18, 2024

use AWS credentials type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants