ci: fix yq command for new k8s version format

The string "1.25" does not need quotes to work in the replace.
"1.25.6" or "v1.25.6", however, do.
This commit is contained in:
Otto Bittner 2023-02-13 08:06:36 +01:00
parent 7410cf8038
commit 74c569cba0

View File

@ -100,7 +100,7 @@ runs:
constellation-conf.yaml
if [[ ${{ inputs.kubernetesVersion != '' }} = true ]]; then
yq eval -i "(.kubernetesVersion) = ${{ inputs.kubernetesVersion }}" constellation-conf.yaml
yq eval -i "(.kubernetesVersion) = \"${{ inputs.kubernetesVersion }}\"" constellation-conf.yaml
fi
- name: Remove embedded measurements