[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:
2
.github/workflows/_schedule_image_build.yaml
vendored
2
.github/workflows/_schedule_image_build.yaml
vendored
@@ -144,7 +144,7 @@ jobs:
|
||||
tags: |
|
||||
type=pep440,pattern={{raw}},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:
|
||||
latest=false
|
||||
|
||||
|
||||
20
.github/workflows/bot_pr_create.yaml
vendored
20
.github/workflows/bot_pr_create.yaml
vendored
@@ -28,8 +28,11 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
commit-update:
|
||||
name: format PR body
|
||||
pr-create:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
name: PR create action
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get vLLM version
|
||||
@@ -85,13 +88,6 @@ jobs:
|
||||
echo "No changes needed"
|
||||
fi
|
||||
|
||||
pr-label:
|
||||
name: Pull Request Labeler
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Label the PR
|
||||
uses: actions/labeler@v6
|
||||
with:
|
||||
@@ -99,10 +95,6 @@ jobs:
|
||||
configuration-path: .github/labeler.yml
|
||||
sync-labels: true
|
||||
|
||||
pr-reminder:
|
||||
name: PR Reminder Comment Bot
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Remind to run full CI on PR
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
@@ -118,4 +110,4 @@ jobs:
|
||||
'If CI fails, you can run linting and testing checks locally according [Contributing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/index.html) and [Testing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/testing.html).'
|
||||
})
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
name: Image Build and Push
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
- cron: '0 */4 * * *'
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
@@ -19,7 +19,7 @@ name: Release Code and Wheel
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
- cron: '0 */4 * * *'
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
Reference in New Issue
Block a user