Draft: Manifest 1: Initial Fixes
This is MR 1/4 for my proposed rework of gitlab-org/gitlab-runner!4680 (closed).
Resolves issues with the immediate testing of ggeorgiev's sketch
- Change from x86_64 to amd64 in the uploaded helper build to be compatible with manifest-tool's from-args templating.
- Remove space from the comma-separated values passing architectures to manifest-tool.
- Check existence of manifest list same way we check docker images.
- Conditionally include prefix in the template, to fix the prefix="" case.