File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,20 @@ docker login -u "$BLOG_REGISTRY_USER" --password-stdin "registry.hive.blog" <<<
102
102
echo " Building an instance image in the source directory $SRC_DIR "
103
103
" $SRC_DIR /scripts/ci-helpers/build_instance.sh" " $CI_COMMIT_TAG " " $SRC_DIR " " $CI_REGISTRY_IMAGE "
104
104
105
- echo " Tagging the image built in the previous step as hiveio/${CI_PROJECT_NAME} /minimal-instance:$CI_COMMIT_TAG "
106
- docker tag " $CI_REGISTRY_IMAGE /minimal-instance:$CI_COMMIT_TAG " " hiveio/${CI_PROJECT_NAME} /minimal-instance:$CI_COMMIT_TAG "
105
+ HIVEIO_IMG=" hiveio/${CI_PROJECT_NAME} :$CI_COMMIT_TAG "
107
106
108
- echo " Tagging the image built in the previous step as registry.hive.blog/${CI_PROJECT_NAME} /minimal-instance:$CI_COMMIT_TAG "
109
- docker tag " $CI_REGISTRY_IMAGE /minimal-instance:$CI_COMMIT_TAG " " registry.hive.blog/${CI_PROJECT_NAME} /minimal-instance:$CI_COMMIT_TAG "
107
+ echo " Tagging the image built in the previous step as ${HIVEIO_IMG} "
108
+ docker tag " $CI_REGISTRY_IMAGE /minimal-instance:$CI_COMMIT_TAG " " ${HIVEIO_IMG} "
109
+
110
+ HIVEBLOG_IMG=" registry.hive.blog/hive/${CI_PROJECT_NAME} :$CI_COMMIT_TAG "
111
+
112
+ echo " Tagging the image built in the previous step as ${HIVEBLOG_IMG} "
113
+ docker tag " $CI_REGISTRY_IMAGE /minimal-instance:$CI_COMMIT_TAG " " ${HIVEBLOG_IMG} "
110
114
111
115
docker images
112
116
113
117
echo " Pushing instance images"
114
118
docker push " $CI_REGISTRY_IMAGE /instance:$CI_COMMIT_TAG "
115
- docker push " hiveio/$CI_PROJECT_NAME :$CI_COMMIT_TAG "
116
- docker push " registry.hive.blog/$CI_PROJECT_NAME :$CI_COMMIT_TAG "
119
+ docker push " $CI_REGISTRY_IMAGE /minimal-instance:$CI_COMMIT_TAG "
120
+ docker push " ${HIVEIO_IMG} "
121
+ docker push " ${HIVEBLOG_IMG} "
You can’t perform that action at this time.
0 commit comments