Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
baa6624d
Unverified
Commit
baa6624d
authored
Jun 09, 2025
by
Arthur Cheng
Committed by
GitHub
Jun 09, 2025
Browse files
[CI] Add CI workflow for sgl-router docker build (#7027)
parent
c2b16795
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
.github/workflows/release-docker-router.yml
.github/workflows/release-docker-router.yml
+30
-0
No files found.
.github/workflows/release-docker-router.yml
0 → 100644
View file @
baa6624d
name
:
Release SGLang Router Docker Image
on
:
push
:
branches
:
-
main
paths
:
-
"
sgl-router/py_src/sglang_router/version.py"
workflow_dispatch
:
jobs
:
publish
:
if
:
github.repository == 'sgl-project/sglang'
runs-on
:
ubuntu-24.04
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v2
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Build and Push
run
:
|
version=$(cat sgl-router/py_src/sglang_router/version.py | cut -d'"' -f2)
tag=v${version}
docker build . -f docker/Dockerfile.router -t lmsysorg/sglang-router:${tag} --no-cache
docker push lmsysorg/sglang-router:${tag}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment