
Some checks failed
continuous-integration/drone/push Build is failing
- 在 .drone.yml 文件中添加中科大 docker 镜像仓库作为镜像源 - 在 Dockerfile 中将 node 基础镜像替换为中科大镜像仓库的版本 - 通过使用中科大的镜像源,提高构建速度和可靠性
25 lines
374 B
YAML
25 lines
374 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
|
|
mirror: https://docker.mirrors.ustc.edu.cn
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
- master
|
|
|
|
volumes:
|
|
- name: docker
|
|
host:
|
|
path: /var/run/docker.sock
|