ci: install kind where the runner can make it executable

This commit is contained in:
Linus Rath
2026-11-01 02:59:41 +01:00
parent b91a8f54aa
commit 110f7fa96a
+6 -2
View File
@@ -49,8 +49,12 @@ jobs:
- name: Create the cluster
run: |
curl -fsSLo /usr/local/bin/kind "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64"
chmod +x /usr/local/bin/kind
# The runner's own kind in /usr/local/bin belongs to root; use a pinned one.
mkdir -p "$RUNNER_TEMP/bin"
curl -fsSLo "$RUNNER_TEMP/bin/kind" "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64"
chmod +x "$RUNNER_TEMP/bin/kind"
echo "$RUNNER_TEMP/bin" >> "$GITHUB_PATH"
export PATH="$RUNNER_TEMP/bin:$PATH"
kind create cluster --name ci --wait 180s
kind load docker-image bulwark-local:ci --name ci