fix: wrong docker hub org name (#9137)

Signed-off-by: mywaaagh_admin <pkwarcraft@gmail.com>
This commit is contained in:
li chaoran
2025-08-13 10:26:19 +08:00
committed by GitHub
parent 86a0be65d8
commit 62f99e08b3
2 changed files with 7 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository_owner }}/sglang
lmsysorg/sglang
# push with schedule event
# push with workflow_dispatch event
tags: |
@@ -52,7 +52,7 @@ jobs:
# https://github.com/docker/login-action
- name: Log into docker hub
uses: docker/login-action@v3
if: ${{ github.repository_owner == 'sgl-project/sglang' && github.event_name != 'pull_request' }}
if: ${{ github.repository == 'sgl-project/sglang' && github.event_name != 'pull_request' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -69,7 +69,7 @@ jobs:
platforms: linux/arm64
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
push: ${{ github.repository_owner == 'sgl-project/sglang' && github.event_name != 'pull_request' }}
push: ${{ github.repository == 'sgl-project/sglang' && github.event_name != 'pull_request' }}
provenance: false
build-args: |
CANN_VERSION=${{ matrix.cann_version }}