[CI] fix image build tag (#5703)

ref doesn't work with workflow_dispatch, let's change it to raw way

This PR also merge the pr_create job into one runner to save resource.
- vLLM version: v0.13.0
- vLLM main:
2f4e6548ef

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2026-01-08 09:27:45 +08:00
committed by GitHub
parent 48811bc0b8
commit 264cc254cc
4 changed files with 9 additions and 17 deletions

View File

@@ -144,7 +144,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=ref,event=workflow_dispatch,suffix=${{ env.SUFFIX }} type=raw,event=workflow_dispatch,suffix=${{ env.SUFFIX }}
flavor: flavor:
latest=false latest=false

View File

@@ -28,8 +28,11 @@ permissions:
pull-requests: write pull-requests: write
jobs: jobs:
commit-update: pr-create:
name: format PR body permissions:
contents: read
pull-requests: write
name: PR create action
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Get vLLM version - name: Get vLLM version
@@ -85,13 +88,6 @@ jobs:
echo "No changes needed" echo "No changes needed"
fi fi
pr-label:
name: Pull Request Labeler
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Label the PR - name: Label the PR
uses: actions/labeler@v6 uses: actions/labeler@v6
with: with:
@@ -99,10 +95,6 @@ jobs:
configuration-path: .github/labeler.yml configuration-path: .github/labeler.yml
sync-labels: true sync-labels: true
pr-reminder:
name: PR Reminder Comment Bot
runs-on: ubuntu-latest
steps:
- name: Remind to run full CI on PR - name: Remind to run full CI on PR
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with: with:

View File

@@ -12,7 +12,7 @@
name: Image Build and Push name: Image Build and Push
on: on:
schedule: schedule:
- cron: '0 */2 * * *' - cron: '0 */4 * * *'
push: push:
tags: tags:
- 'v*' - 'v*'

View File

@@ -19,7 +19,7 @@ name: Release Code and Wheel
on: on:
schedule: schedule:
- cron: '0 */2 * * *' - cron: '0 */4 * * *'
push: push:
tags: tags:
- 'v*' - 'v*'