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

Update Dockerfile to support arm, arm64 and amd64 architecture #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevenlafl
Copy link

@stevenlafl stevenlafl commented Feb 23, 2024

I run a k8s cluster on a 4 node aarch setup. As-is, this action does not support ARM or ARM64/aarch64, resulting in:

Run actions-hub/kubectl@v1.29.1
/usr/bin/docker run --name b18dcd0bd6e6295bf045a091e5e745560b394b_d36f21 --label b18dcd --workdir /github/workspace [...] "/home/runner/_work/github-actions-test/github-actions-test":"/github/workspace" b18dcd:0bd6e6295bf045a091e5e745560b394b get pods
/usr/local/bin/kubectl: line 1: syntax error: unexpected "("

Accounting for architecture in the dockerfile fixes the problem.

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

Successfully merging this pull request may close these issues.

1 participant