Closed fayas-akram closed 2 months ago
Looks like #31?
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...
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"
use AWS credentials type
Closing due to missing information. Feel free to reopen if the issue persists.
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
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