File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,15 @@ jobs:
32
32
git config user.email "${{ github.actor }}"
33
33
git config user.name "${{ github.actor }}"
34
34
35
+ CHART_VALUES=chart/values.yaml
35
36
# Get latest vLLM release tag and replace it in various places
36
- OLD_VLLM_TAG=$(yq '.api.image.version' chart/values.yml )
37
+ OLD_VLLM_TAG=$(yq '.api.image.version' $CHART_VALUES )
37
38
NEW_VLLM_TAG=$(curl -s https://api.github.com/repos/vllm-project/vllm/releases/latest | jq .tag_name | sed s/\"//g)
38
39
if [[ $OLD_VLLM_TAG != $NEW_VLLM_TAG ]]; then
39
40
# Set new release tag output
40
41
echo new_vllm_tag=$NEW_VLLM_TAG >> $GITHUB_OUTPUT
41
42
# Update yaml in-place with yq
42
- yq e -i '.api.image.version = strenv(NEW_VLLM_TAG)' chart/values.yaml
43
+ yq e -i '.api.image.version = strenv(NEW_VLLM_TAG)' $CHART_VALUES
43
44
# Can't use in-place editing with jq
44
45
jq --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' chart/values.schema.json.new
45
46
mv chart/values.schema.json{.new,}
You can’t perform that action at this time.
0 commit comments