Skip to content

Commit

Permalink
Merge pull request #84 from crazy-max/bake-toolkit
Browse files Browse the repository at this point in the history
toolkit: add bake
  • Loading branch information
crazy-max authored Mar 28, 2023
2 parents e185293 + 462c95e commit 26d9901
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/toolkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/

import {Buildx} from './buildx/buildx';
import {Install} from './buildx/install';
import {Install as BuildxInstall} from './buildx/install';
import {Bake} from './buildx/bake';
import {Builder} from './buildx/builder';
import {BuildKit} from './buildkit/buildkit';
import {GitHub} from './github';
Expand All @@ -31,14 +32,16 @@ export interface ToolkitOpts {
export class Toolkit {
public github: GitHub;
public buildx: Buildx;
public buildxInstall: Install;
public buildxInstall: BuildxInstall;
public bake: Bake;
public builder: Builder;
public buildkit: BuildKit;

constructor(opts: ToolkitOpts = {}) {
this.github = new GitHub({token: opts.githubToken});
this.buildx = new Buildx();
this.buildxInstall = new Install();
this.buildxInstall = new BuildxInstall();
this.bake = new Bake({buildx: this.buildx});
this.builder = new Builder({buildx: this.buildx});
this.buildkit = new BuildKit({buildx: this.buildx});
}
Expand Down

0 comments on commit 26d9901

Please sign in to comment.