-
Notifications
You must be signed in to change notification settings - Fork 611
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
Support local output in build #391
Conversation
e78e41c
to
87ceba8
Compare
a228684
to
d3e081b
Compare
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
d3e081b
to
b41704b
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, LGTM if CI gets green
Thank you! |
@@ -45,6 +45,38 @@ CMD ["echo", "nerdctl-build-test-string"] | |||
base.Cmd("run", "--rm", imageName).AssertOutContains("nerdctl-build-test-string") | |||
} | |||
|
|||
func TestBuildLocal(t *testing.T) { | |||
testutil.DockerIncompatible(t) |
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.
why?
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.
Without it the test errored with not compatible. I'm assuming that's because the regular docker build
doesn't support "output" (it's in buildx
).
This enables
--output
for build allowing different types of output (oci, local, etc).