Skip to content

Commit

Permalink
decrease version of kind
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Oct 3, 2024
1 parent 9c86d38 commit 8506b0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,17 @@ jobs:
docker pull kindest/node:v1.31.0
docker save kindest/node:v1.31.0 > build/kind/images/node.tar
docker version
- name: Build and push
uses: docker/build-push-action@v6
with:
context: build/kind
file: build/kind/Dockerfile.kind
platforms: linux/amd64,linux/arm64
# provenance: mode=max
provenance: mode=max
push: true
# sbom: true
sbom: true
tags: kubeshop/testkube-agent:${{steps.tag.outputs.tag}},kubeshop/testkube-agent:latest

# release:
Expand Down
2 changes: 1 addition & 1 deletion build/kind/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ done

# Step 4: Create Kind cluster using a specific Kubernetes version
log "Creating Kubernetes cluster using Kind (Kubernetes v1.31.0)..."
kind create cluster --name testkube-cluster --image kindest/node:v1.31.0 --wait 5m
kind create cluster --name testkube-cluster --image kindest/node:v1.30.0 --wait 5m
if [ $? -ne 0 ]; then
log "Failed to create Kind cluster."
exit 1
Expand Down

0 comments on commit 8506b0d

Please sign in to comment.