setup-qemu-action icon indicating copy to clipboard operation
setup-qemu-action copied to clipboard

Fail action on unsupported architecture

Open jacob-carlborg opened this issue 1 year ago • 1 comments

Contributing guidelines

I've found a bug, and:

  • [X] The documentation does not mention anything about my problem
  • [X] There are no open or closed issues that are related to my problem

Description

The action continues to run when an unsupported architecture is specified. The problem is that I specified mips64el as the architecture instead of mips64le.

Expected behaviour

I expected the action to fail.

Actual behaviour

The action continues to run an completes successfully.

Repository URL

https://github.com/jacob-carlborg/lime

Workflow run URL

https://github.com/jacob-carlborg/lime/actions/runs/10162079184/job/28101982775

YAML workflow

- name: Set up QEMU
        uses: docker/setup-qemu-action@v3
        with:
          platforms: mips64el

Workflow logs

No response

BuildKit logs

No response

Additional info

No response

jacob-carlborg avatar Aug 01 '24 07:08 jacob-carlborg

Agreed, we should fail in such case: https://github.com/jacob-carlborg/lime/actions/runs/10162079184/job/28101982775#step:6:195

  /usr/bin/docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install mips64el
  installing: mips64el unsupported architecture: mips64el

image

Should be fixed upstream https://github.com/tonistiigi/binfmt

crazy-max avatar Aug 01 '24 07:08 crazy-max

Should be fixed since https://github.com/tonistiigi/binfmt/releases/tag/deploy%2Fv9.2.0-51

crazy-max avatar Sep 11 '25 12:09 crazy-max