Skip to content

Commit

Permalink
fixup bake
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 17, 2024
1 parent 00c7a3b commit bffaf4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/synthetic-chain/src/cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export const buildProposalSubmissions = (proposals: ProposalInfo[]) => {
};

export const bakeImages = (matrix: 'test' | 'use', dry = false) => {
const cmd = `docker buildx bake ${matrix} ${dry ? '--print' : ''}`;
// https://docs.docker.com/engine/reference/commandline/buildx_build/#load
const cmd = `docker buildx bake --load ${matrix} ${dry ? '--print' : ''}`;
console.log(cmd);
execSync(cmd, { stdio: 'inherit' });
};

0 comments on commit bffaf4f

Please sign in to comment.