Skip to content

Commit

Permalink
fix: add aarch64 for uname case (#71)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>

Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Nov 17, 2022
1 parent 4dc5550 commit 6fa2f9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ main() {

local arch
case $(uname -m) in
i386) arch="386" ;;
i686) arch="386" ;;
x86_64) arch="amd64" ;;
arm) dpkg --print-architecture | grep -q "arm64" && arch="arm64" || arch="arm" ;;
i386) arch="386" ;;
i686) arch="386" ;;
x86_64) arch="amd64" ;;
arm|aarch64) dpkg --print-architecture | grep -q "arm64" && arch="arm64" || arch="arm" ;;
esac
local cache_dir="$RUNNER_TOOL_CACHE/kind/$version/$arch"

Expand Down

0 comments on commit 6fa2f9f

Please sign in to comment.