mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-26 08:42:09 -05:00
Add qemu + buildx job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
64d53ac2cf
commit
87d5297de8
1 changed files with 36 additions and 0 deletions
36
.github/workflows/setup-buildx-ci.yml
vendored
36
.github/workflows/setup-buildx-ci.yml
vendored
|
@ -38,3 +38,39 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Available platforms
|
name: Available platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
|
with-qemu:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
buildx-version:
|
||||||
|
- latest
|
||||||
|
- v0.2.2
|
||||||
|
qemu-version:
|
||||||
|
- latest
|
||||||
|
- 4.2.0-7
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Runner info
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y hwinfo
|
||||||
|
sudo hwinfo --short
|
||||||
|
sudo mount
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v2.3.1
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: ./setup-qemu/
|
||||||
|
with:
|
||||||
|
qemu-version: ${{ matrix.qemu-version }}
|
||||||
|
-
|
||||||
|
name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: ./setup-buildx/
|
||||||
|
with:
|
||||||
|
buildx-version: ${{ matrix.buildx-version }}
|
||||||
|
-
|
||||||
|
name: Available platforms
|
||||||
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
Loading…
Reference in a new issue