Bump docker/build-push-action from 5 to 6 #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Kind | |
| on: [push, pull_request] | |
| jobs: | |
| test-unit: | |
| name: Create a Kind cluster | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22 | |
| - name: Install latest version of Kind | |
| env: | |
| GO111MODULE: on | |
| run: | | |
| go install sigs.k8s.io/kind@v0.22.0 | |
| - name: Create Kind cluster | |
| run: | | |
| PATH=$(go env GOPATH)/bin:$PATH kind create cluster --config kind-config.yaml | |
| - name: Run some sanity checks | |
| # kubectl is already installed on the Github Ubuntu worker | |
| run: | | |
| kubectl apply --kustomize -f infra/kubernetes/ | |
| kubectl get nodes -o wide | |
| kubectl get pods --all-namespaces -o wide | |
| kubectl get services --all-namespaces -o wide |