Files
airport-chengdu-web/.drone.yml
T
2022-09-26 15:47:41 +08:00

44 lines
713 B
YAML

---
kind: pipeline
name: default
type: docker
platform:
os: linux
arch: amd64
clone:
image: reg.int.it2000.com.cn/devops/git
tags: true
skip_verify: true
steps:
- name: restore-cache
image: drillster/drone-volume-cache
settings:
restore: true
mount:
- ./node_modules
volumes:
- name: cache
path: /cache
- name: build
image: reg.int.it2000.com.cn/library/node:14.20-bullseye
commands:
- node -v
- npm -v
- yarn --version
- yarn
volumes:
- name: cache
host:
path: /opt/node/cache/node_modules
- name: certs
host:
path: /etc/ssl/certs
- name: docker
host:
path: /var/run/docker.sock