|
@@ -0,0 +1,40 @@
|
|
|
+kind: pipeline
|
|
|
+type: docker
|
|
|
+name: tmp-group-admin
|
|
|
+
|
|
|
+steps:
|
|
|
+ - name: build
|
|
|
+ image: plugins/docker
|
|
|
+ volumes:
|
|
|
+ - name: hosts
|
|
|
+ path: /etc/hosts
|
|
|
+ - name: docker-ca
|
|
|
+ path: /etc/docker
|
|
|
+ - name: docker-sock
|
|
|
+ path: /var/run/docker.sock
|
|
|
+ settings:
|
|
|
+ username:
|
|
|
+ form_secret: aliyun_name
|
|
|
+ password:
|
|
|
+ form_secret: aliyun_password
|
|
|
+ repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/tmr-group-admin
|
|
|
+ registry: registry.cn-hangzhou.aliyuncs.com
|
|
|
+ tags: [ 1.0.0,latest ]
|
|
|
+
|
|
|
+trigger:
|
|
|
+ branch:
|
|
|
+ include:
|
|
|
+ - develop
|
|
|
+ event:
|
|
|
+ include:
|
|
|
+ - push
|
|
|
+
|
|
|
+volumes:
|
|
|
+ - name: host
|
|
|
+ host:
|
|
|
+ path: /etc/host
|
|
|
+ - name: docker-ca
|
|
|
+ host:
|
|
|
+ path: /var/run/docker.sock
|
|
|
+
|
|
|
+
|