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

Does not work on centos runners #76

Open
Frisch12 opened this issue Jan 29, 2024 · 3 comments
Open

Does not work on centos runners #76

Frisch12 opened this issue Jan 29, 2024 · 3 comments

Comments

@Frisch12
Copy link

This actions does not work on CentOS-Runners.
You should mention this in the Readme, so people are not confused if the action fails to run.

@WyriHaximus
Copy link
Owner

Since GitHub isn't providing CentOS based runners I'm assuming you're using self hosted runners. Which means I can't do anything to fix it without error messages. But did you install nodejs on your runners before using this action?

@Frisch12
Copy link
Author

Oh yes, you're right. The Error message is dpkg: Command not found.

@WyriHaximus
Copy link
Owner

Ow yeah that makes sense. dpkg is used to figure out the processor architecture the action runs on to download kubectl. it runs dpkg --print-architecture what would be the command for that in CentOS? Need either amd64 or arm64 as outcome of the command.

Alternatively I'll use something like: https://github.com/helm/helm/blob/main/scripts/get-helm-3#L35-L47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants