Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Amd64 installed instead of arm #111

Closed
1 task done
pkruk opened this issue Jun 16, 2023 · 8 comments · Fixed by #124
Closed
1 task done

Bug: Amd64 installed instead of arm #111

pkruk opened this issue Jun 16, 2023 · 8 comments · Fixed by #124
Labels
bug Something is not working

Comments

@pkruk
Copy link

pkruk commented Jun 16, 2023

What happened?

Hi,

We use a github runner based on arm64 in aws, and when we start using this action, we got a strange error:

Helm tool version: 'v3.11.3' has been cached at *_tool/helm/3.11.3/arm64/linux-amd64/helm

It's looks like that actions is downloading the incorrect version according to my architecture:

uname -m
aarch64

Native script get_helm.sh is working as shine, so it's looks there is a problem in node-script:

   const arch = os.arch()
   const operatingSystem = os.type()

   switch (true) {
      case operatingSystem == LINUX && arch == ARM64:
         return util.format(
            'https://get.helm.sh/helm-%s-linux-arm64.zip',
            version
         )

not sure if the os.arch is returning in this case aarch64 instead of arm64, so the condition in switch is incorrect.

Version

  • I am using the latest version

Runner

self-hosted, linux, arm64 (graviton aws)

Relevant log output

Helm tool version: 'v3.11.3' has been cached at *_tool/helm/3.11.3/arm64/linux-amd64/helm
....
_tool/helm/3.11.3/arm64/linux-amd64/helm: cannot execute binary file: Exec format error

@pkruk pkruk added the bug Something is not working label Jun 16, 2023
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Jun 30, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Jul 14, 2023
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Jul 29, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Aug 12, 2023
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Aug 26, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Sep 9, 2023
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Sep 23, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Oct 7, 2023
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Oct 21, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Nov 5, 2023
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Nov 19, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days labels Dec 3, 2023
@github-actions github-actions bot removed the stale 90 days old label Dec 3, 2023
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Dec 17, 2023
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Dec 31, 2023
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Jan 14, 2024
@github-actions github-actions bot added stale 90 days old and removed idle Inactive for 14 days stale 90 days old labels Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant