File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 3434jobs :
3535 build :
3636 name : vllm-ascend openEuler image
37- runs-on : ubuntu-latest
38-
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 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