-
Notifications
You must be signed in to change notification settings - Fork 180
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
Single registry fails #48
Comments
Only the empty registries case is handled in the code, it appears: https://github.com/aws-actions/amazon-ecr-login/blob/master/index.js#L35 |
Hi @hgezim it looks like you're right, I was able to reproduce the error with both a single registry and a comma delimited list. I'll work on putting together a fix. |
@hgezim sorry, it looks like I spoke too soon - I was able to reproduce a workflow failure, but what's actually failing is the step after the The expectation is that
That said, I understand the expectation in the single registry case may be that it's also provided as an output. Can you confirm that where you're seeing a failure is with leveraging the output of this step (vs. a failure with login itself)? If so, should we consider this a feature request to populate the output with the registry when a single Id is provided? |
Closing b/c single registry URIs are now added to action output in v1.1.0 |
It really does appear to fail as #27 suggested.
Replaced my actual registry id with 1s above. Not space after it.
ECR_REGISTRY
ends up empty.The text was updated successfully, but these errors were encountered: