ci: use sino SWR namespace and fixed image tag

This commit is contained in:
2026-06-16 11:34:39 +08:00
parent 0458e1aa08
commit 8735f0e80d
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ stages:
variables:
DOCKER_BUILDKIT: "0"
DEFAULT_IMAGE_REPO: swr.cn-north-1.myhuaweicloud.com/sino-bridge/sinocode-analytics
DEFAULT_IMAGE_REPO: swr.cn-north-1.myhuaweicloud.com/sino/sinocode-analytics
PUSH_LATEST: "true"
publish_on_runner:
@@ -25,7 +25,7 @@ publish_on_runner:
- sh -lc "$DOCKER_LOGIN_COMMAND"
- |
IMAGE_REPO="${IMAGE_REPO:-$DEFAULT_IMAGE_REPO}"
IMAGE_TAG="${IMAGE_TAG:-$CI_COMMIT_SHORT_SHA}"
IMAGE_TAG="0.0.1"
IMAGE_REF="$IMAGE_REPO:$IMAGE_TAG"
echo "Building $IMAGE_REF"