mob/.drone.yml

24 lines
450 B
YAML
Raw Normal View History

2024-09-04 20:20:47 +08:00
kind: pipeline
type: docker
name: default
steps:
- name: node-build
image: node:20.12
commands:
- npm install -g cnpm
- cnpm install
- cnpm install -g increase-memory-limit cross-env
- export NODE_OPTIONS=--max_old_space_size=4096
- cnpm run build:uat
- ls -l
- name: build-and-push
image: plugins/docker
registry: xx:io
2024-09-04 20:23:13 +08:00
dockerfile: ./Dockerfile-rc1
2024-09-04 20:20:47 +08:00
tags: latest
# drone执行触发器1
trigger:
branch:
- main