-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conflicting values when using remote docker repositories with custom uri #32
Comments
I am facing the same issue 👍 |
@prabhu34 I am facing the same issue |
Thanks for reaching out. It has to either public repo (which don't need authentication) or the custom repo which probably needs access. Do not add |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
First of all, thanks for the awesome work with this module, it really encapsulates well all the possibilities in a well organized way.
With that said, I think there's an issue with remote repositories using custom uri, at least for remote docker repos.
This is my config:
It gives me the following error:
Since we have the
public_repository = optional(string, "DOCKER_HUB")
with a default value set, it conflicts with whatever I try to set on thecustom_repository
object.To avoid it I believe we should either not set a default value for
public_repository
or add the following logic on the module:To only use the default value if
custom_repository
is not set.Let me know if I made any mistakes on wrong assumptions here.
The text was updated successfully, but these errors were encountered: