Wrong arm64 docker images

Hello,

in arm64 architecture:

Linux mgcl1n1 5.10.95-1-MANJARO-ARM-RPI #1 SMP PREEMPT Tue Feb 1 13:52:48 UTC 2022 aarch64 GNU/Linux

issuing the following command:

docker run -it drone/drone-runner-docker:1.8-linux-arm64 sh

I am getting the following error:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
drone-runner-docker: error: required key DRONE_RPC_HOST missing value, try --help

looking in docker I find:

I think there is an issue.

The following command does not work as well:

docker run -it drone/drone-runner-docker:1.8-linux-arm64 --platform=arm64 sh
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
drone-runner-docker: error: unknown long flag '--platform', try --help

This --platform flag needs to come before the image name, otherwise docker assumes you are passing the flag to the image entrypoint, which will cause a failure, since this is not a valid flag for the entrypoint.

docker run --platform=arm64 -it drone/drone-runner-docker:1.8-linux-arm64