瀏覽代碼

New image tagging work in progress

Vadim Surkov 6 年之前
父節點
當前提交
51e82e33e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Jenkinsfile

+ 1 - 0
Jenkinsfile

@@ -41,6 +41,7 @@ pipeline {
         sh "docker build --build-arg repo=${repo} --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ."
         script {
            NEWTAG = sh script: "docker run --rm ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} rpm -q --qf %{VERSION}-%{RELEASE} web-registry-admin 2> /dev/null", returnStdout: true
+           NEWTAG = NEWTAG + BUILD_NUMBER
            echo "NEWTAG is $NEWTAG"
         }
       }