Skip to content

Commit

Permalink
feat(release.yaml): option to config parallelsim (#49)
Browse files Browse the repository at this point in the history
* feat(release.yaml): option to disable buildkit

* test

* test

* test

* builder parallelism

* defautl 0
  • Loading branch information
LiyangW authored Jun 19, 2024
1 parent d602a1c commit b245e65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ on:
required: false
type: boolean
default: false
builder_parallelism:
description: "Set the number of parallel builds to run"
required: false
default: 0
type: number
secrets:
GH_TOKEN:
required: false
Expand Down Expand Up @@ -141,6 +146,11 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-config-inline: |
[worker.oci]
max-parallelism = ${{ inputs.builder_parallelism }}
- name: Login to Global ICR
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit b245e65

Please sign in to comment.