浏览代码

Изменил имя образа latest

Vladimir Tomishinets 6 年之前
父节点
当前提交
4340a1c2e4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -106,8 +106,8 @@ pipeline {
         script {
           ENAMES.each { item ->
              echo "Setting latest tag for $item"
-             sh """docker tag ${DOCKER_IMAGE}:${SERIAL} ${REGISTRIES.get((item))}/${DOCKER_IMAGE}:latest
-                   docker push ${REGISTRIES.get((item))}/${DOCKER_IMAGE}:latest
+             sh """docker tag ${DOCKER_IMAGE}:${SERIAL} ${REGISTRIES.get((item))}/iru/${DOCKER_IMAGE}:latest
+                   docker push ${REGISTRIES.get((item))}/iru/${DOCKER_IMAGE}:latest
                 """
           }
         }