Example with QEMU

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-07 11:34:40 +02:00
parent 87d5297de8
commit f443d57e89
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 38 additions and 0 deletions

View File

@ -6,6 +6,7 @@ ___
* [Usage](#usage) * [Usage](#usage)
* [Quick start](#quick-start) * [Quick start](#quick-start)
* [With QEMU](#with-qemu)
* [Customizing](#customizing) * [Customizing](#customizing)
* [inputs](#inputs) * [inputs](#inputs)
* [outputs](#outputs) * [outputs](#outputs)
@ -44,6 +45,43 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }} run: echo ${{ steps.buildx.outputs.platforms }}
``` ```
### With QEMU
If you want support for more platforms you can use our [setup-qemu](../setup-qemu) action:
```yaml
name: ci
on:
pull_request:
branches: master
push:
branches: master
tags:
jobs:
buildx:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/action/setup-qemu@v2
with:
qemu-version: latest
-
name: Set up Docker Buildx
id: buildx
uses: docker/action/setup-buildx@v2
with:
buildx-version: latest
-
name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
```
## Customizing ## Customizing
### inputs ### inputs