Browse Source

imgs

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

8
.drone.yml

@ -20,7 +20,7 @@ steps:
- go mod tidy
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o test-drone
- name: docker-push
- name: docker-build
image: plugins/docker
settings:
username: tjqmhu
@ -30,9 +30,7 @@ steps:
registry: https://registry.cn-hangzhou.aliyuncs.com
tags: ${DRONE_BUILD_NUMBER}
- name: rancher-deploy
image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:12 # 直接用busybox
- name: rancher-push
image: registry.cn-hangzhou.aliyuncs.com/hvp/dpr:16 # 直接用busybox
settings:
url: https://121.40.194.123:8443/v3/
env: test
docker_img : registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER}
Loading…
Cancel
Save