File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 1- name : ' image'
1+ name : ' image / openEuler '
22# This is a docker build check and publish job:
33# 1. PR Triggered docker image build check
44# - is for image build check
3333
3434jobs :
3535 build :
36- name : vllm-ascend openEuler image
37- runs-on : ubuntu-latest
38-
36+ name : vllm-ascend image
37+ runs-on : >-
38+ ${{
39+ github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
40+ 'ubuntu-latest' ||
41+ 'ubuntu-24.04-arm'
42+ }}
3943 steps :
4044 - uses : actions/checkout@v4
4145
8791 - name : Build and push
8892 uses : docker/build-push-action@v6
8993 with :
90- platforms : linux/amd64,linux/arm64
94+ platforms : >-
95+ ${{
96+ github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
97+ 'linux/amd64,linux/arm64' ||
98+ 'linux/arm64'
99+ }}
91100 # use the current repo path as the build context, ensure .git is contained
92101 context : .
93102 # only trigger when tag, branch/main push
Original file line number Diff line number Diff line change 1- name : ' image'
1+ name : ' image / Ubuntu '
22# This is a docker build check and publish job:
33# 1. PR Triggered docker image build check
44# - is for image build check
3333jobs :
3434
3535 build :
36- name : vllm-ascend Ubuntu image
36+ name : vllm-ascend image
3737 runs-on : ubuntu-latest
3838
3939 steps :
8787 - name : Build and push
8888 uses : docker/build-push-action@v6
8989 with :
90- platforms : linux/amd64,linux/arm64
90+ platforms : >-
91+ ${{
92+ github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
93+ 'linux/amd64,linux/arm64' ||
94+ 'linux/amd64'
95+ }}
9196 # use the current repo path as the build context, ensure .git is contained
9297 context : .
9398 # only trigger when tag, branch/main push
You can’t perform that action at this time.
0 commit comments