[AMD CI] Update docker release workflows docker file name. (#13028)

This commit is contained in:
Sai Enduri
2025-11-10 18:28:39 -08:00
committed by GitHub
parent 2fe4e69fca
commit aea88fa7af
2 changed files with 5 additions and 2 deletions
@@ -38,6 +38,7 @@ jobs:
- name: Build and Push
run: |
version=$(cat python/sglang/version.py | cut -d'"' -f2)
echo "Version: ${version}"
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
rocm_tag="rocm630-mi30x"
@@ -52,7 +53,7 @@ jobs:
tag=v${version}-${rocm_tag}
docker build . -f docker/Dockerfile.rocm --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t rocm/sgl-dev:${tag}-${{ env.DATE }} --no-cache
docker build . -f docker/rocm.Dockerfile --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t rocm/sgl-dev:${tag}-${{ env.DATE }} --no-cache
docker push rocm/sgl-dev:${tag}-${{ env.DATE }}
cache:
@@ -83,6 +84,7 @@ jobs:
set -euxo pipefail
version=$(cat python/sglang/version.py | cut -d'"' -f2)
echo "Version: ${version}"
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
rocm_tag="rocm630-mi30x"
+2 -1
View File
@@ -29,6 +29,7 @@ jobs:
- name: Build and Push
run: |
version=$(cat python/sglang/version.py | cut -d'"' -f2)
echo "Version: ${version}"
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
rocm_tag="rocm630-mi30x"
@@ -43,5 +44,5 @@ jobs:
tag=v${version}-${rocm_tag}
docker build . -f docker/Dockerfile.rocm --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t lmsysorg/sglang:${tag} --no-cache
docker build . -f docker/rocm.Dockerfile --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t lmsysorg/sglang:${tag} --no-cache
docker push lmsysorg/sglang:${tag}