Skip to content

Commit

Permalink
Example with QEMU
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
CrazyMax committed Aug 11, 2020
1 parent 87d5297 commit f443d57
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions setup-buildx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ___

* [Usage](#usage)
* [Quick start](#quick-start)
* [With QEMU](#with-qemu)
* [Customizing](#customizing)
* [inputs](#inputs)
* [outputs](#outputs)
Expand Down Expand Up @@ -44,6 +45,43 @@ jobs:
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
### inputs
Expand Down

0 comments on commit f443d57

Please sign in to comment.