2020-08-18 18:19:47 +02:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
2021-04-02 11:47:52 +02:00
|
|
|
schedule:
|
|
|
|
- cron: '0 10 * * *' # everyday at 10am
|
2020-08-18 18:19:47 +02:00
|
|
|
push:
|
|
|
|
branches:
|
2021-04-02 11:47:52 +02:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
|
|
|
tags:
|
|
|
|
- 'v*'
|
2020-08-18 18:19:47 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-04-02 11:47:52 +02:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-18 18:19:47 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
image:
|
|
|
|
- tonistiigi/binfmt:latest
|
|
|
|
- tonistiigi/binfmt:master
|
|
|
|
platforms:
|
|
|
|
- all
|
|
|
|
- arm64,riscv64,arm
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-11-12 20:28:46 +01:00
|
|
|
uses: actions/checkout@v2
|
2020-08-18 18:19:47 +02:00
|
|
|
-
|
|
|
|
name: Set up QEMU
|
|
|
|
id: qemu
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
image: ${{ matrix.image }}
|
|
|
|
platforms: ${{ matrix.platforms }}
|
|
|
|
-
|
|
|
|
name: Available platforms
|
|
|
|
run: echo ${{ steps.qemu.outputs.platforms }}
|
|
|
|
-
|
|
|
|
name: Dump context
|
|
|
|
uses: crazy-max/ghaction-dump-context@v1
|