Build KinD node image in CI #3
Workflow file for this run
This file contains 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: build-kind-node | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'build*' | |
permissions: | |
contents: read | |
jobs: | |
k8s-amd64: | |
runs-on: | |
group: "Default Larger Runners" | |
labels: ubuntu-latest-16-cores | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: kubernetes/kubernetes | |
ref: v1.30.0 | |
path: kubernetes | |
# - name: Checkout Kubernetes version | |
# run: | | |
# cd $GITHUB_WORKSPACE/kubernetes | |
# git fetch --prune --unshallow | |
# git checkout tags/v1.30.0 | |
- name: Build node image | |
run: | | |
cd $GITHUB_WORKSPACE/kubernetes | |
kind build node-image |