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

How to specify multi-stage build target in build_image? #391

Open
cylewitruk opened this issue Mar 21, 2024 · 1 comment
Open

How to specify multi-stage build target in build_image? #391

cylewitruk opened this issue Mar 21, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cylewitruk
Copy link

cylewitruk commented Mar 21, 2024

Hi!

Well I've been scouring the documentation/examples and searching the code for how I might do this and I just can't figure out how to pass the build target, i.e. the equivalent to docker build --target runtime-stage .. Am I missing something? :)

--target string                 Set the target build stage to build
@fussybeaver fussybeaver added the question Further information is requested label Mar 21, 2024
@fussybeaver
Copy link
Owner

It looks like a field that's new and needs to be added to the BuildImageOpts struct. The query parameter models are not sourced from the openapi, so we need to maintain those manually..

@fussybeaver fussybeaver added enhancement New feature or request good first issue Good for newcomers and removed question Further information is requested labels Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants