automated_api/.drone.yml
lixin 3d024477f9
Some checks failed
continuous-integration/drone/push Build is failing
build: 更新 Docker 镜像并设置 npm 镜像
- 将 Dockerfile 中的 Node.js 镜像从阿里云镜像更新为官方 Node.js 镜像
- 在构建和运行阶段添加 npm 镜像设置,使用国内镜像源
- 更新 .drone.yml 文件,将 Docker 插件镜像改为 plugins/docker
2025-01-10 14:44:51 +08:00

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