Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

[WIP]Set the docker buildx max parallel to 2 #301

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/docker-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
debug = true
[worker.oci]
max-parallelism = 2

- name: Docker meta
id: meta
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
[worker.oci]
max-parallelism = 2

- name: Docker meta
id: meta
Expand Down
1 change: 1 addition & 0 deletions docker/edge-ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y openssl jq
WORKDIR /app
ADD .yarn ./.yarn
ADD yarn.lock package.json .yarnrc.yml ./
RUN yarn config set taskPoolConcurrency 2 && yarn config set networkConcurrency 5
RUN yarn workspaces focus --all --production

RUN mkdir /public
Expand Down
Loading