diff --git a/.drone.yml b/.drone.yml index 45b26bc..8fa4aac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,13 +31,20 @@ steps: tags: ${DRONE_BUILD_NUMBER} - - name: rancher-push - privileged: true - image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:34 # 直接用busybox - settings: - docker_img : registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} - commands: - - podman ps - - docker login --username=tjqmhu -p "tjqm4912" registry.cn-hangzhou.aliyuncs.com - - docker pull registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} - - docker save registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} >test-drone-${DRONE_BUILD_NUMBER}.tar \ No newline at end of file +# - name: rancher-push +# privileged: true +# image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:34 # 直接用busybox +# settings: +# docker_img : registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} +# commands: +# - podman ps +# - docker login --username=tjqmhu -p "tjqm4912" registry.cn-hangzhou.aliyuncs.com +# - docker pull registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} +# - docker save registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} >test-drone-${DRONE_BUILD_NUMBER}.tar +# + + - name: rancher-deploy + image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:42 # 直接用busybox + settings: +# tar: test-drone-${DRONE_BUILD_NUMBER}.tar + docker_img: registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} \ No newline at end of file