Skip to content

Commit

Permalink
Bump Kind Action to 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed May 29, 2023
1 parent de10321 commit 783eed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
- uses: actions/checkout@v1
- run: sed -i "s/master/sha-${GITHUB_SHA}/g" Dockerfile
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.0.0-rc.1
uses: helm/kind-action@v1.5.0
- name: Get running image ID
id: ps
run: printf "::set-output name=id::%s" $(docker ps --format "{{.ID}}")
Expand All @@ -149,7 +149,7 @@ jobs:
run: printf "::set-output name=ip::%s" $(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${IMAGE_ID})
env:
IMAGE_ID: ${{ steps.ps.outputs.id }}
- run: sed -i "s/127.0.0.1:32768/${KIND_IP}:6443/g" ~/.kube/config
- run: sed -i "s/127.0.0.1:/${KIND_IP}:/g" ~/.kube/config
env:
KIND_IP: ${{ steps.inspect.outputs.ip }}
- name: Make kubeconfig available to Helm3 action
Expand Down

0 comments on commit 783eed7

Please sign in to comment.