Browse Source

测试

dev_trial
wenlele 2 years ago
parent
commit
b026fd7f58
  1. 2
      code/VideoAccess-VCMP/api/Dockerfile
  2. 4
      jenkinsfile_vcmp_api

2
code/VideoAccess-VCMP/api/Dockerfile

@ -23,7 +23,7 @@
# 旧版本构建方式
FROM repository.anxinyun.cn/base-images/nodejs12:20.10.12.2
FROM harbor.anxinyun.cn/fs-devops/node-12:34.22-10-26
COPY . /var/app

4
jenkinsfile_vcmp_api

@ -11,8 +11,8 @@ pipeline {
sh 'switch-auth.sh anxinyun'
buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}"
sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./code/VideoAccess-VCMP/api'
sh 'docker push registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}'
sh 'ctr build -t registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./code/VideoAccess-VCMP/api'
sh 'ctr push registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}'
}
}
}

Loading…
Cancel
Save