
Some checks failed
continuous-integration/drone/push Build is failing
- 将 Dockerfile 中的 Node.js 镜像从阿里云镜像更新为官方 Node.js 镜像 - 在构建和运行阶段添加 npm 镜像设置,使用国内镜像源 - 更新 .drone.yml 文件,将 Docker 插件镜像改为 plugins/docker
24 lines
325 B
YAML
24 lines
325 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: plugins/docker
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
dry_run: true
|
|
repo: automated-api
|
|
tags:
|
|
- latest
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
- master
|
|
|
|
volumes:
|
|
- name: docker
|
|
host:
|
|
path: /var/run/docker.sock
|