Browse Source

project: add cicd 4

Yi 1 year ago
parent
commit
328953cad0
1 changed files with 2 additions and 4 deletions
  1. 2 4
      .drone.yml

+ 2 - 4
.drone.yml

@@ -2,17 +2,15 @@ kind: pipeline
 type: docker
 name: kptTmrGroup-server-publish
 
-
 clone:
   depth: 1
   disable: true
 
-
 steps:
   - name: clone
     image: alpine/git
     commands:
-      - git clone -b develop http://192.168.1.8:3000/xuyiping/kpt-tmr-group.git
+      - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
   - name: test
     image: golang:1.17
     commands:
@@ -38,12 +36,12 @@ steps:
       repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-tmr-group
       registry: registry.cn-hangzhou.aliyuncs.com
       tags: [1.0.0,latest]
+
 trigger:
   branch:
    include:
      - develop
   event:
-    - push
     - merge
 
 volumes: