From 3ed32f9ac64fe9db93f050c9bef392a19cddb2a3 Mon Sep 17 00:00:00 2001 From: "zhipeng.hu" Date: Thu, 10 Aug 2023 15:18:34 +0800 Subject: [PATCH] docker --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 38133e5..2f2980a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,8 +51,9 @@ steps: # target: [ "test","pre" ] - name: rancher-deploy privileged: true - image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:68 #直接用busybox + image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:70 #直接用busybox settings: +# tar : test-drone-${DRONE_BUILD_NUMBER}.tar docker_img: registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:113 # username: docker-push # password: WeWlh6hGYCtxO4r @@ -63,9 +64,9 @@ steps: # when: # target: [ "test","pre" ] commands: - - docker login --username=tjqmhu -p "tjqm4912" registry.cn-hangzhou.aliyuncs.com - - docker pull registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:113 - - docker save registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:113 >test-drone-${DRONE_BUILD_NUMBER}.tar +# - docker login --username=tjqmhu -p "tjqm4912" registry.cn-hangzhou.aliyuncs.com +# - docker pull registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:113 +# - docker save registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:113 >test-drone-${DRONE_BUILD_NUMBER}.tar - ls - dpr when: