Hello,
I am trying to upload packages from CI to a chart repository via helm cm-push. Unfortunately these commands always fail with an exec format error.
This usually indicates that a program is trying to execute compiled for a different architecture. This is true for the CI, because this is a multi-architecture CI. That means, I can't be sure on which node with which architecture the helm package should be pushed into the repository.
I have now tried to reproduce this step by step. If I want to install on an aarch64 ci node via helm plugin install cm-push, it still downloads the plugin for the amd64 architecture. See logs:
$ docker run --rm docker.io/volkerraschek/helm:3.8.0-arm64-v8 plugin install https://github.com/chartmuseum/helm-push.git
Downloading and installing helm-push v0.10.1 ...
https://github.com/chartmuseum/helm-push/releases/download/v0.10.1/helm-push_0.10.1_linux_amd64.tar.gz
Installed plugin: cm-push
I think the installer should respect uname -m here.
Hello, I am trying to upload packages from CI to a chart repository via helm cm-push. Unfortunately these commands always fail with an
exec format error
.This usually indicates that a program is trying to execute compiled for a different architecture. This is true for the CI, because this is a multi-architecture CI. That means, I can't be sure on which node with which architecture the helm package should be pushed into the repository.
I have now tried to reproduce this step by step. If I want to install on an
aarch64
ci node viahelm plugin install cm-push
, it still downloads the plugin for theamd64
architecture. See logs:I think the installer should respect
uname -m
here.