mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 08:15:55 +00:00
ci: install kind where the runner can make it executable
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user