chore: cleanup docker image (#10671)

This commit is contained in:
Yineng Zhang
2025-09-19 16:56:49 -07:00
committed by GitHub
parent 03ce92e594
commit 6f993e8b9e
3 changed files with 7 additions and 20 deletions

View File

@@ -12,15 +12,9 @@ jobs:
strategy:
matrix:
variant:
- version: 12.6.1
- version: 12.9.1
type: all
tag: dev
- version: 12.8.1
type: blackwell
tag: blackwell
- version: 12.9.1
type: blackwell
tag: b200-cu129
steps:
- name: Checkout repository

View File

@@ -14,15 +14,8 @@ jobs:
environment: 'prod'
strategy:
matrix:
cuda_version: ['12.6.1', '12.8.1', '12.9.1']
build_type: ['all', 'blackwell']
exclude:
- cuda_version: '12.6.1'
build_type: 'blackwell'
- cuda_version: '12.8.1'
build_type: 'all'
- cuda_version: '12.9.1'
build_type: 'all'
cuda_version: ['12.6.1', '12.9.1']
build_type: ['all']
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
@@ -84,7 +77,6 @@ jobs:
fi
docker buildx build --output type=image,compression=zstd . -f docker/Dockerfile --build-arg CUDA_VERSION=${{ matrix.cuda_version }} --build-arg BUILD_TYPE=${{ matrix.build_type }} -t lmsysorg/sglang:${tag}${tag_suffix} --no-cache
docker push lmsysorg/sglang:${tag}${tag_suffix}
if [ "${{ matrix.cuda_version }}" = "12.6.1" ]; then
docker tag lmsysorg/sglang:${tag}${tag_suffix} lmsysorg/sglang:latest${tag_suffix}