[CI] Fix image merge bug (#5197)

### What this PR does / why we need it?
Some tiny bugfix for
https://github.com/vllm-project/vllm-ascend/pull/5175

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang
2025-12-19 17:30:48 +08:00
committed by GitHub
parent 141bd913e1
commit 14931d2a86

View File

@@ -166,7 +166,12 @@ jobs:
DIGESTS=$(printf "$IMAGE@sha256:%s " $(ls ${{ runner.temp }}/digests)) DIGESTS=$(printf "$IMAGE@sha256:%s " $(ls ${{ runner.temp }}/digests))
echo "Digests: $DIGESTS" echo "Digests: $DIGESTS"
echo "Current tags: $TAGS" echo "Current tags:"
docker buildx imagetools create \ echo "$TAGS"
-t TAGS \
$DIGESTS for tag in $TAGS; do
echo "Creating tag $tag"
docker buildx imagetools create \
-t "$tag" \
$DIGESTS
done