ci/cd
This commit is contained in:
@@ -3,7 +3,7 @@ type: docker
|
||||
name: SmartOpsWeb
|
||||
steps:
|
||||
- name: build-package
|
||||
image: node:16.20.0
|
||||
image: registry.cn-chengdu.aliyuncs.com/claywang/node:16.20.0
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /drone/src/node_modules
|
||||
@@ -30,7 +30,7 @@ steps:
|
||||
|
||||
|
||||
- name: build-docker # 制作docker镜像
|
||||
image: docker # 使用官方docker镜像
|
||||
image: registry.cn-chengdu.aliyuncs.com/claywang/docker # 使用官方docker镜像
|
||||
volumes: # 将容器内目录挂载到宿主机
|
||||
- name: docker
|
||||
path: /var/run/docker.sock # 挂载宿主机的docker
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM nginx
|
||||
FROM registry.cn-chengdu.aliyuncs.com/claywang/nginx
|
||||
|
||||
RUN rm -rf /etc/nginx/conf.d/default.conf
|
||||
RUN rm -rf /etc/nginx/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user