diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index da43a28..727cdff 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -55,15 +55,15 @@ jobs: name: Build Docker Images run: | docker build -f package/Dockerfile -t rancher/gitjob:dev . + - + name: Install k3d + run: curl --silent --fail https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${{ env.SETUP_K3D_VERSION }} bash - name: Provision k3d Cluster - uses: AbsaOSS/k3d-action@v2 - # k3d will automatically create a network named k3d-test-cluster-1 with the range 172.18.0.0/16 - with: - cluster-name: "k3s-default" - args: >- - --agents 3 - --network "nw01" + run: | + k3d cluster create k3s-default --wait \ + --agents 3 \ + --network "nw01" \ --image docker.io/rancher/k3s:${{matrix.k3s_version}} - name: Import Images Into k3d