From 2fae5786187184162c8ae09fe84875858a328a50 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Fri, 13 Dec 2024 10:04:22 +0100 Subject: [PATCH] fix(ci): use arm64 version of kind if necessary --- .github/workflows/test-e2e.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 952eec1..e059ade 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -20,11 +20,19 @@ jobs: check-latest: true - name: Install the latest version of kind + if: ${{ runner.arch }} == 'X64' run: | curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64 chmod +x ./kind sudo mv ./kind /usr/local/bin/kind + - name: Install the latest version of kind + if: ${{ runner.arch }} == 'ARM64' + run: | + curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-arm64 + chmod +x ./kind + sudo mv ./kind /usr/local/bin/kind + - name: Verify kind installation run: kind version