Skip to content

Commit

Permalink
Merge pull request #175 from depot/feat/buildx-driver-command-report
Browse files Browse the repository at this point in the history
feat(buildx): report command of buildx driver
  • Loading branch information
goller authored Aug 31, 2023
2 parents e813002 + 5edc3a3 commit 0c621bb
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 68 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/buildctl/dial-stdio.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func run() error {
once.Do(func() {
req := &cliv1.CreateBuildRequest{
ProjectId: projectID,
Options: []*cliv1.BuildOptions{{Command: cliv1.Command_COMMAND_BUILD}},
Options: []*cliv1.BuildOptions{{Command: cliv1.Command_COMMAND_BUILDX}},
}
build, err := helpers.BeginBuild(ctx, req, token)
if err != nil {
Expand Down
138 changes: 71 additions & 67 deletions pkg/proto/depot/cli/v1/build.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/depot/cli/v1/build.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ enum Command {
COMMAND_UNSPECIFIED = 0;
COMMAND_BUILD = 1;
COMMAND_BAKE = 2;
COMMAND_BUILDX = 3;
}

message BuildOutput {
Expand Down

0 comments on commit 0c621bb

Please sign in to comment.