Skip to content

Commit 17d89ad

Browse files
authored
Get k8s version from tests/makefile rather than dockerfile (#8650)
1 parent 1b3646e commit 17d89ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
./.github/scripts/variables.sh go_code_md5 >> $GITHUB_OUTPUT
9090
date=$(date "+%Y%m%d")
9191
echo "date=${date}" >> $GITHUB_OUTPUT
92-
k8s_version=$(grep kindest tests/Dockerfile | cut -d ':' -f 2 | cut -d '@' -f 1)
92+
k8s_version=$(grep "^K8S_CLUSTER_VERSION" tests/Makefile | cut -d '?' -f 2 | tr -d ' =')
9393
echo "k8s_version=${k8s_version}" >> $GITHUB_OUTPUT
9494
cat $GITHUB_OUTPUT
9595

0 commit comments

Comments
 (0)