Skip to content

Commit

Permalink
refactor: use machine resources to build with parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Aug 20, 2024
1 parent cbb00b2 commit a99d2f9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ jobs:
. .tvm/bin/activate
tutor distro run-extra-commands
- name: Prepare docker if building MFE
if: ${{ inputs.SERVICE == 'mfe' }}
shell: bash
run: |
echo "[worker.oci]" > buildkit.toml
echo "max-parallelism = 2" >> buildkit.toml
docker buildx create --use --node=max2cpu --driver=docker-container --config=./buildkit.toml
# - name: Prepare docker if building MFE
# if: ${{ inputs.SERVICE == 'mfe' }}
# shell: bash
# run: |
# echo "[worker.oci]" > buildkit.toml
# echo "max-parallelism = 2" >> buildkit.toml
# docker buildx create --use --node=max2cpu --driver=docker-container --config=./buildkit.toml

- name: Build service image with no cache
shell: bash
Expand Down

0 comments on commit a99d2f9

Please sign in to comment.