-
Notifications
You must be signed in to change notification settings - Fork 606
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 nerdctl build
args: --attest
, --sbom
,--provenance
#2786
Conversation
nerdctl build
--attest
, --sbom
,provenance
nerdctl build
args: --attest
, --sbom
,provenance
43a41e0
to
43b059f
Compare
nerdctl build
args: --attest
, --sbom
,provenance
nerdctl build
args: --attest
, --sbom
,--provenance
555c36f
to
8d11bab
Compare
nerdctl build
args: --attest
, --sbom
,--provenance
nerdctl build
args: --attest
, --sbom
,--provenance
a2e992d
to
cb4e3b7
Compare
nerdctl build
args: --attest
, --sbom
,--provenance
nerdctl build
args: --attest
, --sbom
,--provenance
cb4e3b7
to
b7efbbc
Compare
cmd/nerdctl/builder_build_test.go
Outdated
testutil.RequiresBuild(t) | ||
base := testutil.NewBase(t) | ||
if testutil.GetTarget() == testutil.Docker { | ||
base.Env = append(base.Env, "DOCKER_BUILDKIT=1") |
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.
Do we still need this?
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 @AkihiroSuda
It has been remove.
cmd/nerdctl/builder_build_test.go
Outdated
@@ -498,3 +498,50 @@ func TestBuildNetworkShellCompletion(t *testing.T) { | |||
networkName := "default" | |||
base.Cmd(gsc, "build", "--network", "").AssertOutContains(networkName) | |||
} | |||
|
|||
func TestBuildAttestation(t *testing.T) { | |||
testutil.DockerIncompatible(t) // ref:https://github.com/docker/buildx/issues/1655 |
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.
Can we just create docker-container
builder in GHA?
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 @AkihiroSuda
The test is docker-compatible by a docker-builder created in a test case. :-)
987c1f1
to
96691fd
Compare
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
96691fd
to
9ae613b
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
Build attestations describe how an image was built, and what it contains.
Support
nerdctl build
args:--attest
,--sbom
,--provenance
.fix: #2745