-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Description
(I'm aware of #152. This issue is filed partly so it would be indexed in case others may find this useful)
steps
The following setup used to work:
- name: Build Linux aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu20.04
# Speeds up builds per the run-on-arch-action README
githubToken: ${{ github.token }}
problem
Build container phase fails with the following:
#2 [internal] load metadata for docker.io/arm64v8/ubuntu:20.04
#2 ERROR: no match for platform in manifest: not found
------
> [internal] load metadata for docker.io/arm64v8/ubuntu:20.04:
------
Dockerfile.aarch64.ubuntu20.04:1
--------------------
1 | >>> FROM arm[64](https://github.com/sbt/sbtn-dist/actions/runs/11420327751/job/31775899476#step:4:65)v8/ubuntu:20.04
2 |
3 | COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
--------------------
ERROR: failed to solve: arm64v8/ubuntu:20.04: failed to resolve source metadata for docker.io/arm64v8/ubuntu:20.04: no match for platform in manifest: not found
Error: The process '/home/runner/work/_actions/uraimo/run-on-arch-action/v2/src/run-on-arch.sh' failed with exit code 1
workaround
Following #152 and other PRs linked to 152, the workaround apparently is:
- name: Build Linux aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: none
distro: none
base_image: '--platform=linux/aarch64 ubuntu:20.04'
expectation
Would it be possible to absorb this in this action, or otherwise, please document this in the README.
Stranger6667, VishnuSanal and neutrinoceros
Metadata
Metadata
Assignees
Labels
No labels