Commit 09c32b8
committed
CI: Fix error when running on host-arm64
When pulling a base image from Docker Hub, the architecture
defaults to that of the native host, which is typically x86_64
or amd64 on GitHub runners. Since the run-on-arch-action
GitHub Action aims to run rv32emu on an ARM64 Ubuntu image, it
attempts to pull the native host manifest (either x86_64 or
amd64), resulting in a 'no match for platform in manifest'
error unless the --platform option is specified. Therefore,
specifying the --platform option as linux/arm64 resolves this
issue.
Close sysprog21#5021 parent d631076 commit 09c32b8
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments