Fail action on unsupported architecture
Contributing guidelines
- [X] I've read the contributing guidelines and wholeheartedly agree
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
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
Should be fixed upstream https://github.com/tonistiigi/binfmt
Should be fixed since https://github.com/tonistiigi/binfmt/releases/tag/deploy%2Fv9.2.0-51