From 12d47fa78b600c438d6cfebb75696457f8604363 Mon Sep 17 00:00:00 2001 From: Jitendra Patil Date: Sun, 7 Jun 2026 21:49:54 -0500 Subject: [PATCH] ci(xpu): push latest tag and use 7-char SHA in nightly image tags (#27299) --- .github/workflows/release-docker-intel-xpu-nightly.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-docker-intel-xpu-nightly.yml b/.github/workflows/release-docker-intel-xpu-nightly.yml index bdede32a3..287e262bd 100644 --- a/.github/workflows/release-docker-intel-xpu-nightly.yml +++ b/.github/workflows/release-docker-intel-xpu-nightly.yml @@ -23,7 +23,7 @@ jobs: id: image_meta run: | date_tag=$(date +%Y%m%d) - commit_hash=$(git rev-parse --short=9 HEAD) + commit_hash=$(git rev-parse --short=7 HEAD) if [ -z "${commit_hash}" ]; then echo "::error::Could not resolve commit hash" exit 1 @@ -48,8 +48,10 @@ jobs: --build-arg SG_LANG_REPO=https://github.com/sgl-project/sglang.git \ --build-arg SG_LANG_BRANCH=main \ --no-cache --progress=plain \ - -t "intel/sglang-dev:${{ env.IMAGE_TAG }}" + -t "intel/sglang-dev:${{ env.IMAGE_TAG }}" \ + -t "intel/sglang-dev:latest" - name: Push intel/sglang-dev run: | docker push "intel/sglang-dev:${{ env.IMAGE_TAG }}" + docker push "intel/sglang-dev:latest"