|
|
@ -29,17 +29,11 @@ steps: |
|
|
|
dockerfile: Dockerfile |
|
|
|
registry: https://registry.cn-hangzhou.aliyuncs.com |
|
|
|
tags: ${DRONE_BUILD_NUMBER} |
|
|
|
save: ${DRONE_BUILD_NUMBER}.tar |
|
|
|
|
|
|
|
- name: docker-save |
|
|
|
image: plugins/docker |
|
|
|
commands: |
|
|
|
- docker save -o ${DRONE_BUILD_NUMBER}.tar . |
|
|
|
|
|
|
|
- name: rancher-deploy |
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:12 # 直接用busybox |
|
|
|
settings: |
|
|
|
url: https://121.40.194.123:8443/v3/ |
|
|
|
env: test |
|
|
|
pname: test-drone |
|
|
|
: test-drone |
|
|
|
docker_img : registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} |