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

plugin unable to authenticate with ECR credentials #1716

Open
saquibtmf opened this issue Oct 30, 2023 · 1 comment
Open

plugin unable to authenticate with ECR credentials #1716

saquibtmf opened this issue Oct 30, 2023 · 1 comment

Comments

@saquibtmf
Copy link

saquibtmf commented Oct 30, 2023

Description

The plugin is unable to authenticate with ECR repository. I followed the methods mentioned in http://dmp.fabric8.io/#authentication

Info

  • docker-maven-plugin version : 0.20.1
  • Maven version (mvn -v) : 3.6.0
Error: 
Failed to execute goal io.fabric8:docker-maven-plugin:0.20.1:build (build) on project auto-analysis-service-server: Unable to pull '219919340901.dkr.ecr.us-east-1.amazonaws.com/decp/decp-base-image-corretto:8u242' from registry '219919340901.dkr.ecr.us-east-1.amazonaws.com' : Head "https://219919340901.dkr.ecr.us-east-1.amazonaws.com/v2/decp/decp-base-image-corretto/manifests/8u242": no basic auth credentials (Internal Server Error: 500) -> [Help 1]
  • Docker version :20.10.13
    How to reproduce :
  • Perform docker login with AWS ECR
  • Do docker push/pull using the plugin and it will give you the error.
  • Normal docker push/pull works fine.
  • Add the credentials in block in settings.xml and that fails too.

I have already gone through the following links:

@rohanKanojia
Copy link
Member

docker-maven-plugin version : 0.20.1

that's quite old version of this plugin. Could you please try upgrading to 0.43.4 and see if it resolves your issue?

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

2 participants