Skip to content

Commit

Permalink
Limit concurrent builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr727 committed May 6, 2024
1 parent eba609e commit 752aac8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/BuildPublishPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ jobs:
runs-on: ubuntu-latest

strategy:
# Keep building even if a job fails, helps with troubleshooting
# Keep building even if one job fails, helps with troubleshooting when there are multiple errors
fail-fast: false
# Limit number of concurrent builds
# Error: buildx failed with: ERROR: failed to solve: error writing layer blob: maximum timeout reached
max-parallel: 4

# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
matrix:
images: ${{ fromJson(needs.setmatrix.outputs.matrix).images }}
Expand Down

0 comments on commit 752aac8

Please sign in to comment.