Skip to content

Commit

Permalink
Only try to build local image if K8s version is specified (#6555)
Browse files Browse the repository at this point in the history
When K8s version is not specified, it's supposed to use default version.
The step of building local image is not implemented to support empty
input, it should be skipped when K8s version is empty.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
  • Loading branch information
tnqn authored Jul 26, 2024
1 parent d0ceaf9 commit b71f6f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
chmod +x ./kind
sudo mv kind /usr/local/bin
- name: Build local image for conformance test
if: ${{ inputs.k8s-version != '' }}
run: |
image="kindest/node:${{ inputs.k8s-version }}"
if docker pull $image 2>&1; then
Expand Down

0 comments on commit b71f6f1

Please sign in to comment.