diff --git a/.github/workflows/_schedule_image_build.yaml b/.github/workflows/_schedule_image_build.yaml index f3a52c9b..15c86395 100644 --- a/.github/workflows/_schedule_image_build.yaml +++ b/.github/workflows/_schedule_image_build.yaml @@ -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 diff --git a/.github/workflows/schedule_image_build_and_push.yaml b/.github/workflows/schedule_image_build_and_push.yaml index 34013c3d..4489d4ce 100644 --- a/.github/workflows/schedule_image_build_and_push.yaml +++ b/.github/workflows/schedule_image_build_and_push.yaml @@ -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 }}