File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - name : Checkout repository
1111 uses : actions/checkout@v3
12+
13+ - name : Set up Docker Buildx
14+ uses : docker/setup-buildx-action@v3
15+
16+ - name : Login to Docker Hub
17+ uses : docker/login-action@v3
18+ with :
19+ username : ${{ secrets.DOCKERHUB_USERNAME }}
20+ password : ${{ secrets.DOCKERHUB_TOKEN }}
21+
22+ - name : Build and push Docker image
23+ uses : docker/build-push-action@v5
24+ with :
25+ context : .
26+ push : true
27+ tags : waltermity/demohttpserver:latest
1228
1329 - name : Set up Go
1430 uses : actions/setup-go@v5
@@ -20,10 +36,14 @@ jobs:
2036 with :
2137 config : kind-config.yaml
2238
23- - name : Install cloud-provider-kind
39+ - name : Set up cloud-provider-kind
2440 run : |
25- go install sigs.k8s.io/cloud-provider-kind@latest
26- echo "${HOME}/go/bin" >> $GITHUB_PATH
41+ wget -O cloud-provider-kind.tar.gz https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.6.0/cloud-provider-kind_0.6.0_linux_amd64.tar.gz
42+ mkdir -p cloud-provider-kind-tmp
43+ tar -xzf cloud-provider-kind.tar.gz -C cloud-provider-kind-tmp
44+ chmod +x cloud-provider-kind-tmp/cloud-provider-kind
45+ sudo mv cloud-provider-kind-tmp/cloud-provider-kind /usr/local/bin/
46+ rm -rf cloud-provider-kind-tmp cloud-provider-kind.tar.gz
2747
2848 - name : Start Cloud Provider
2949 run : |
You can’t perform that action at this time.
0 commit comments