Commit bdf073ba authored by 李鹏 's avatar 李鹏

fix

parent 56579fd4
......@@ -33,25 +33,24 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
commands:
# - npm install -g cnpm --registry=https://registry.npm.taobao.org
# - cnpm install
# - npm install -g cnpm --registry=https://registry.npm.taobao.org
# - cnpm install
- yarn
- npm install -g cnpm --registry=https://registry.npm.taobao.org
- cnpm install
- export NODE_ENV=production
- yarn build
# - name: s3-cache-build
# image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
# network_mode: host
# settings:
# rebuild: true
# hash: package.json
# mount:
# - node_modules
# endpoint: http://cache.wodcloud.com
# access_key:
# from_secret: ACCESS_KEY_MINIO
# secret_key:
# from_secret: SECRET_KEY_MINIO
- name: s3-cache-build
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
network_mode: host
settings:
rebuild: true
hash: package.json
mount:
- node_modules
endpoint: http://cache.wodcloud.com
access_key:
from_secret: ACCESS_KEY_MINIO
secret_key:
from_secret: SECRET_KEY_MINIO
- name: docker-amd64
image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker:1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment