ci: use base90 runner for Huawei publish

This commit is contained in:
2026-06-16 10:57:21 +08:00
parent 372aba4d5e
commit 4b788befb0
2 changed files with 11 additions and 14 deletions

View File

@@ -1,25 +1,22 @@
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- when: never
stages:
- publish
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_DRIVER: overlay2
DOCKER_BUILDKIT: "1"
DEFAULT_IMAGE_REPO: swr.cn-north-1.myhuaweicloud.com/sino-bridge/sinocode-analytics
PUSH_LATEST: "true"
publish:huawei-swr:
publish_on_runner:
stage: publish
image: docker:28.0.4-cli
services:
- name: docker:28.0.4-dind
command: ["--tls=false"]
tags:
- base90
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: manual
- when: never
script:
- set -eu
- docker --version
- |
if [ -z "${DOCKER_LOGIN_COMMAND:-}" ]; then
echo "Set DOCKER_LOGIN_COMMAND when running the pipeline."