Skip to content

Commit 668bc67

Browse files
hanzhuangHeChangHaoGary
authored andcommitted
[cicd][cluster] add new push
1 parent a7b6bad commit 668bc67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Jenkinsfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ pipeline {
5050
retry(3) {
5151
sh 'podman push harbor.zetyun.cn/dingostack/dingo-command:${IMAGE_TAG}'
5252
}
53+
sh 'podman tag harbor.zetyun.cn/dingostack/dingo-command:${IMAGE_TAG} harbor.zetyun.cn/openstack/dingo-command:${IMAGE_TAG}'
54+
retry(3) {
55+
sh 'podman push harbor.zetyun.cn/openstack/dingo-command:${IMAGE_TAG}'
56+
}
5357
}
5458

5559
}
@@ -87,7 +91,7 @@ pipeline {
8791
echo "update kolla_ansible"
8892
dir('/home/cicd/kolla-ansible') {
8993
sh '''
90-
git stash
94+
git stash || true
9195
git pull origin dingoStack
9296
git stash pop || true
9397
# 检查冲突

0 commit comments

Comments
 (0)