try qemu static from GH action

This commit is contained in:
jamesread 2021-11-19 11:54:31 +00:00
parent d5c008188e
commit aef1e4db1b
1 changed files with 7 additions and 3 deletions

View File

@ -3,14 +3,18 @@ name: "Build Snapshot"
on: [push] on: [push]
jobs: jobs:
rcbuild: build-snapshot:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: qemu static name: Set up QEMU
run: sudo apt install -y qemu-user-static id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: arm64,arm
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2