Skip to content

Commit 019968a

Browse files
committed
Correct values file name
1 parent d999456 commit 019968a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ jobs:
3232
git config user.email "${{ github.actor }}"
3333
git config user.name "${{ github.actor }}"
3434
35+
CHART_VALUES=chart/values.yaml
3536
# 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)
3738
NEW_VLLM_TAG=$(curl -s https://api.github.com/repos/vllm-project/vllm/releases/latest | jq .tag_name | sed s/\"//g)
3839
if [[ $OLD_VLLM_TAG != $NEW_VLLM_TAG ]]; then
3940
# Set new release tag output
4041
echo new_vllm_tag=$NEW_VLLM_TAG >> $GITHUB_OUTPUT
4142
# 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
4344
# Can't use in-place editing with jq
4445
jq --arg tag $NEW_VLLM_TAG '.properties.api.properties.image.properties.version.default = $tag' chart/values.schema.json.new
4546
mv chart/values.schema.json{.new,}

0 commit comments

Comments
 (0)