[CI] Fix image build workflow_dispatch error (#5717)

type `raw` must contain `value` section. This PR fix the image build
error

- vLLM version: v0.13.0
- vLLM main:
2f4e6548ef

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2026-01-08 15:07:33 +08:00
committed by GitHub
parent 920bbe932f
commit d03cc9c456
2 changed files with 12 additions and 1 deletions

View File

@@ -19,6 +19,10 @@ on:
description: 'Quay username for pushing images'
required: false
type: string
workflow_dispatch_tag:
description: 'The tag to use for workflow dispatch'
required: false
type: string
secrets:
QUAY_PASSWORD:
description: 'Quay password for pushing images'
@@ -144,7 +148,7 @@ jobs:
tags: |
type=pep440,pattern={{raw}},suffix=${{ env.SUFFIX }}
type=schedule,pattern=main,suffix=${{ env.SUFFIX }}
type=raw,event=workflow_dispatch,suffix=${{ env.SUFFIX }}
type=raw,value=${{ inputs.workflow_dispatch_tag }},event=workflow_dispatch,suffix=${{ env.SUFFIX }}
flavor:
latest=false

View File

@@ -17,6 +17,12 @@ on:
tags:
- 'v*'
workflow_dispatch:
inputs:
tag:
description: 'Docker tag for build results'
type: string
default: manual
required: true
jobs:
image_build:
@@ -46,5 +52,6 @@ jobs:
suffix: ${{ matrix.build_meta.suffix }}
quay_username: ${{ vars.QUAY_USERNAME }}
should_push: ${{ github.repository_owner == 'vllm-project' }}
workflow_dispatch_tag: ${{ inputs.tag }}
secrets:
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}