Skip to content

Commit

Permalink
feat: support dev image (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs authored Dec 12, 2024
1 parent e3b3acf commit f0ed9c3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release-docker-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build Development Docker Image

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
build-dev:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
docker-images: false
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: false

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Dev Image
run: |
docker build . -f docker/Dockerfile.dev -t lmsysorg/sglang:dev --no-cache
docker push lmsysorg/sglang:dev

0 comments on commit f0ed9c3

Please sign in to comment.