You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `cache-scope` | String | | Which scope GitHub Actions cache object belongs to if `cache` enabled. |
142
+
| `cache-mode` | String | `min` | Cache layers to export if `cache` enabled (one of `min` or `max`). |
143
+
| `meta-image` | String | | Image to use as base name for tags. This input is similar to [`images` input in `docker/metadata-action`](https://github.com/docker/metadata-action?tab=readme-ov-file#images-input) used in this reusable workflow but accepts a single image name. |
144
+
| `build-platforms` | List/CSV | | List of target platforms for build. This input is similar to [`platforms` input in `docker/build-push-action`](https://github.com/docker/build-push-action?tab=readme-ov-file#images-input) used in this reusable workflow. At least two platforms are required. |
145
+
| `login-username`² | String | | Username used to log against the Docker registry. This input is similar to [`username` input in `docker/login-action`](https://github.com/docker/login-action?tab=readme-ov-file#images-input) used in this reusable workflow. |
146
+
| `login-password` | String | | Specifies whether the given registry is ECR (auto, true or false). This input is similar to [`password` input in `docker/login-action`](https://github.com/docker/login-action?tab=readme-ov-file#images-input) used in this reusable workflow. |
229
147
230
-
It's also possible to build on multiple runners using Bake, with the
> ¹ `auto` will choose the best matching runner depending on the target
150
+
> platform being built (either `ubuntu-latest` or `ubuntu-24.04-arm`).
151
+
> ² `login-username` can be used as either an input or secret.
232
152
233
-
You can find a live example [in this GitHub repository](https://github.com/crazy-max/docker-linguist).
153
+
You can find the full list of inputs in [the reusable workflow](https://github.com/docker/build-push-action/blob/v6/.github/workflows/reusable-distribute-mp.yml).
234
154
235
-
The following example achieves the same results as described in
| `target` | String | | Multi-platform target to build. This input is similar to [`targets` input in `docker/bake-action`](https://github.com/docker/build-push-action?tab=readme-ov-file#images-input) used in this reusable workflow but accepts a single target. |
| `cache-scope` | String | | Which scope GitHub Actions cache object belongs to if `cache` enabled. |
222
+
| `cache-mode` | String | `min` | Cache layers to export if `cache` enabled (one of `min` or `max`). |
223
+
| `meta-image` | String | | Image to use as base name for tags. This input is similar to [`images` input in `docker/metadata-action`](https://github.com/docker/metadata-action?tab=readme-ov-file#images-input) used in this reusable workflow but accepts a single image name. |
224
+
| `login-username`² | String | | Username used to log against the Docker registry. This input is similar to [`username` input in `docker/login-action`](https://github.com/docker/login-action?tab=readme-ov-file#images-input) used in this reusable workflow. |
225
+
| `login-password` | String | | Specifies whether the given registry is ECR (auto, true or false). This input is similar to [`password` input in `docker/login-action`](https://github.com/docker/login-action?tab=readme-ov-file#images-input) used in this reusable workflow. |
400
226
401
-
- name: Set up Docker Buildx
402
-
uses: docker/setup-buildx-action@v3
227
+
> [!NOTE]
228
+
> ¹ `auto` will choose the best matching runner depending on the target
229
+
> platform being built (either `ubuntu-latest` or `ubuntu-24.04-arm`).
230
+
> ² `login-username` can be used as either an input or secret.
You can find the list of available inputs in [the reusable workflow](https://github.com/docker/bake-action/blob/v6/.github/workflows/reusable-distribute-mp.yml).
0 commit comments