automated_api/.drone.yml
lixin 3b0f39e2ba
Some checks reported errors
continuous-integration/drone/push Build encountered an error
ci: 更新 Docker 镜像源并调整分支触发条件
- 将 Dockerfile 和 .drone.yml 中的 Docker 镜像源从官方更改为阿里云国内代理
- 修改 .drone.yml 中的触发分支,从 dev-2.0.0 改为 main 和 master
- 移除了 .drone.yml 中的事件触发条件配置
2025-01-10 14:42:35 +08:00

24 lines
366 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: registry.cn-hangzhou.aliyuncs.com/library/docker:latest
settings:
dockerfile: Dockerfile
dry_run: true
repo: automated-api
tags:
- latest
trigger:
branch:
- main
- master
volumes:
- name: docker
host:
path: /var/run/docker.sock