更新 .drone.yml
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: fateverse
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
|
||||
steps:
|
||||
@@ -21,7 +18,7 @@ steps:
|
||||
- bash maven.sh
|
||||
|
||||
- name: build-docker # 制作docker镜像
|
||||
image: 10.7.127.190:38080/docker/docker # 使用官方docker镜像
|
||||
image: registry.cn-chengdu.aliyuncs.com/claywang/docker:20.10.1 # 使用官方docker镜像
|
||||
volumes: # 将容器内目录挂载到宿主机
|
||||
- name: maven-build
|
||||
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
|
||||
@@ -55,7 +52,7 @@ steps:
|
||||
|
||||
|
||||
- name: deploy # rancher运行
|
||||
image: bitnami/kubectl:1.26.13-debian-11-r1 #阿里云的kubectl镜像,里面包含kubectl命令行工具
|
||||
image: registry.cn-chengdu.aliyuncs.com/claywang/kubectl #阿里云的kubectl镜像,里面包含kubectl命令行工具
|
||||
volumes: # 将容器内目录挂载到宿主机
|
||||
- name: maven-build
|
||||
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
|
||||
|
||||
Reference in New Issue
Block a user