-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add struct and functionality for using user input #1387
Conversation
8029375
to
088ccd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review.
9db3d71
to
6ab04cb
Compare
|
||
// NewDockerBuildConfig validates the inputs and generates an instance of | ||
// DockerBuildConfig. | ||
func NewDockerBuildConfig(io *InputOptions) (*DockerBuildConfig, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asraa @laurentsimon @ianlewis I am happy with this PR. Can you please merge it? |
Can you rebase and solve the conflicts? |
Signed-off-by: Razieh Behjati <[email protected]>
Signed-off-by: Razieh Behjati <[email protected]>
Head branch was pushed to by a user without write access
Done. But now the CI step for |
Many thanks :) |
Ref #1191
Builds on top of #1386 and adds struct and functionality for parsing and using user-provided input.
Moves
InputOptions
to packagepkg
to be able to pass it as an argument toNewDockerBuildConfig
without introducing a circular dependency.