Skip to content

Commit 0dc4351

Browse files
nginx-botjavorszky
andauthored
Get k8s version from tests/makefile rather than dockerfile (#8651)
Get k8s version from tests/makefile rather than dockerfile (#8650) Co-authored-by: Gabor Javorszky <[email protected]>
1 parent be7d9bd commit 0dc4351

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)