Browse Source

imgs

master
zhipeng.hu 1 year ago
parent
commit
ca22b1e129
  1. 8
      .drone.yml

8
.drone.yml

@ -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}
Loading…
Cancel
Save