mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-10-12 04:54:48 +00:00
feat(release): make the QEMU binfmt image an input
The default stays qemu-v8.1.5. A caller whose arm64 build crashes under that version can pass another image.
This commit is contained in:
@@ -18,6 +18,11 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
qemu-image:
|
||||
description: "binfmt image that registers QEMU for multi-arch Docker builds"
|
||||
required: false
|
||||
type: string
|
||||
default: "tonistiigi/binfmt:qemu-v8.1.5"
|
||||
docker-registry:
|
||||
description: "Docker registry to push to"
|
||||
required: false
|
||||
@@ -183,7 +188,7 @@ jobs:
|
||||
if: inputs.docker-enabled
|
||||
uses: docker/setup-qemu-action@v4
|
||||
with:
|
||||
image: tonistiigi/binfmt:qemu-v8.1.5
|
||||
image: ${{ inputs.qemu-image }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: inputs.docker-enabled
|
||||
|
||||
Reference in New Issue
Block a user