Skip to content
Merged
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
7 changes: 6 additions & 1 deletion .github/workflows/bake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
description: "Whether to distribute the build across multiple runners (one platform per runner)"
required: false
default: true
fail-fast:
type: boolean
description: "Whether to cancel all in-progress and queued jobs in the matrix if any job fails"
required: false
default: false
setup-qemu:
type: boolean
description: "Runs the setup-qemu-action step to install QEMU static binaries"
Expand Down Expand Up @@ -431,7 +436,7 @@ jobs:
needs:
- prepare
strategy:
fail-fast: false
fail-fast: ${{ inputs.fail-fast }}
matrix:
include: ${{ fromJson(needs.prepare.outputs.includes) }}
outputs:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
description: "Whether to distribute the build across multiple runners (one platform per runner)"
required: false
default: true
fail-fast:
type: boolean
description: "Whether to cancel all in-progress and queued jobs in the matrix if any job fails"
required: false
default: false
setup-qemu:
type: boolean
description: "Runs the setup-qemu-action step to install QEMU static binaries"
Expand Down Expand Up @@ -333,7 +338,7 @@ jobs:
needs:
- prepare
strategy:
fail-fast: false
fail-fast: ${{ inputs.fail-fast }}
matrix:
include: ${{ fromJson(needs.prepare.outputs.includes) }}
outputs:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ jobs:
|------------------------|----------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `runner` | String | `auto` | [Ubuntu GitHub Hosted Runner](https://github.com/actions/runner-images?tab=readme-ov-file#available-images) to build on (one of `auto`, `amd64`, `arm64`). The `auto` runner selects the best-matching runner based on target `platforms`. You can set it to `amd64` if your build doesn't require emulation (e.g. cross-compilation) |
| `distribute` | Bool | `true` | Whether to distribute the build across multiple runners (one platform per runner) |
| `fail-fast` | Bool | `false` | Whether to cancel all in-progress and queued jobs in the matrix if any job fails |
| `setup-qemu` | Bool | `false` | Runs the `setup-qemu-action` step to install QEMU static binaries |
| `artifact-name` | String | `docker-github-builder-assets` | Name of the uploaded GitHub artifact (for `local` output) |
| `artifact-upload` | Bool | `false` | Upload build output GitHub artifact (for `local` output) |
Expand Down Expand Up @@ -372,6 +373,7 @@ jobs:
|------------------------|--------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `runner` | String | `auto` | [Ubuntu GitHub Hosted Runner](https://github.com/actions/runner-images?tab=readme-ov-file#available-images) to build on (one of `auto`, `amd64`, `arm64`). The `auto` runner selects the best-matching runner based on target `platforms`. You can set it to `amd64` if your build doesn't require emulation (e.g. cross-compilation) |
| `distribute` | Bool | `true` | Whether to distribute the build across multiple runners (one platform per runner) |
| `fail-fast` | Bool | `false` | Whether to cancel all in-progress and queued jobs in the matrix if any job fails |
| `setup-qemu` | Bool | `false` | Runs the `setup-qemu-action` step to install QEMU static binaries |
| `artifact-name` | String | `docker-github-builder-assets` | Name of the uploaded GitHub artifact (for `local` output) |
| `artifact-upload` | Bool | `false` | Upload build output GitHub artifact (for `local` output) |
Expand Down
Loading