From e9f5f54a5a62f04ae8aac2653d074b9d6c21a220 Mon Sep 17 00:00:00 2001 From: liudianxin Date: Fri, 12 Jun 2020 19:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9yml=E5=A2=9E=E5=8A=A0yarn?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .beagle.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.beagle.yml b/.beagle.yml index 7c0db7a..f957e6a 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -6,25 +6,28 @@ clone: dns: 223.5.5.5 pipeline: read-cache: - image: registry.cn-qingdao.aliyuncs.com/wod-devops/cache:latest + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0.0-alpha restore: true + check: yarn.lock mount: - ./node_modules + - ./yarn.lock volumes: - /data/cache:/cache build: image: registry.cn-qingdao.aliyuncs.com/wod-devops/node:8.15.0-onbuild dns: 223.5.5.5 volumes: - - /data/cache/yarn:/usr/local/share/.cache/yarn/v1 + - /data/cache/yarn:/usr/local/share/.cache/yarn commands: - yarn install - yarn run build store-cache: - image: registry.cn-qingdao.aliyuncs.com/wod-devops/cache:latest + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0.0-alpha rebuild: true mount: - - ./node_modules + - ./node_modules + - ./yarn.lock volumes: - /data/cache:/cache docker-dev: -- 2.26.0