fix(ci): use arm64 version of kind if necessary
This commit is contained in:
parent
12090c913a
commit
2fae578618
1 changed files with 8 additions and 0 deletions
8
.github/workflows/test-e2e.yml
vendored
8
.github/workflows/test-e2e.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue