You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker.withRegistry fails to login for a public repository but works with the private repository.
Can we use this plugin to login to the Amazon ECR public repository?
The text was updated successfully, but these errors were encountered:
I am facing this issue too. Pushing to Public ECR registry with this plugin doesn't work. Works fine for private ones.
I could not find any clarification regarding this in the readme either.
Public and private ECR repositories use completely different API endpoints and IAM objects (ecr:GetAuthorizationToken vs. ecr-public:GetAuthorizationToken), so this is no surprise. One could probably extend this plugin to support both (with a new "mapping prefix"), but it won't work out-of-the-box.
I'm not interested in implementing this myself, but I might merge an extension to this plugin (preferably with tests & without too much code duplication)
docker.withRegistry fails to login for a public repository but works with the private repository.
Can we use this plugin to login to the Amazon ECR public repository?
The text was updated successfully, but these errors were encountered: