Skip to content

Commit

Permalink
DEBUG no --load
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 25, 2024
1 parent fecdde0 commit d049be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:
- run: df -h

# DEBUG
- run: yarn build --dry && docker buildx bake --load use-upgrade-8
- run: yarn build --dry && docker buildx bake use-upgrade-8
- run: docker system df
- run: docker buildx du --verbose
- run: df -h

# DEBUG
- run: yarn build --dry && docker buildx bake --load use-upgrade-9
- run: yarn build --dry && docker buildx bake use-upgrade-9
- run: docker system df
- run: docker buildx du --verbose
- run: df -h
Expand Down
3 changes: 1 addition & 2 deletions packages/synthetic-chain/src/cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export const buildProposalSubmissions = (proposals: ProposalInfo[]) => {
* @param [dry] - Whether to skip building and just print the build config.
*/
export const bakeImages = (matrix: 'test' | 'use', dry = false) => {
// https://docs.docker.com/engine/reference/commandline/buildx_build/#load
const cmd = `docker buildx bake --load ${matrix} ${dry ? '--print' : ''}`;
const cmd = `docker buildx bake ${matrix} ${dry ? '--print' : ''}`;
console.log(cmd);
execSync(cmd, { stdio: 'inherit' });
};

0 comments on commit d049be6

Please sign in to comment.