[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:
6
.github/workflows/_schedule_image_build.yaml
vendored
6
.github/workflows/_schedule_image_build.yaml
vendored
@@ -19,6 +19,10 @@ on:
|
|||||||
description: 'Quay username for pushing images'
|
description: 'Quay username for pushing images'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
workflow_dispatch_tag:
|
||||||
|
description: 'The tag to use for workflow dispatch'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
secrets:
|
secrets:
|
||||||
QUAY_PASSWORD:
|
QUAY_PASSWORD:
|
||||||
description: 'Quay password for pushing images'
|
description: 'Quay password for pushing images'
|
||||||
@@ -144,7 +148,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=pep440,pattern={{raw}},suffix=${{ env.SUFFIX }}
|
type=pep440,pattern={{raw}},suffix=${{ env.SUFFIX }}
|
||||||
type=schedule,pattern=main,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:
|
flavor:
|
||||||
latest=false
|
latest=false
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: 'Docker tag for build results'
|
||||||
|
type: string
|
||||||
|
default: manual
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
image_build:
|
image_build:
|
||||||
@@ -46,5 +52,6 @@ jobs:
|
|||||||
suffix: ${{ matrix.build_meta.suffix }}
|
suffix: ${{ matrix.build_meta.suffix }}
|
||||||
quay_username: ${{ vars.QUAY_USERNAME }}
|
quay_username: ${{ vars.QUAY_USERNAME }}
|
||||||
should_push: ${{ github.repository_owner == 'vllm-project' }}
|
should_push: ${{ github.repository_owner == 'vllm-project' }}
|
||||||
|
workflow_dispatch_tag: ${{ inputs.tag }}
|
||||||
secrets:
|
secrets:
|
||||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||||
|
|||||||
Reference in New Issue
Block a user