Explorar el Código

edited jenkinsfile for registry-mirrors

xiaoct hace 7 años
padre
commit
8101d43ffb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -2,7 +2,7 @@ pipeline {
     agent {
         docker {
             image 'node'
-            args '-p 80:80'
+            args '-p 80:80 --registry-mirror=https://registry.docker-cn.com daemon'
         }
     }
     stages {