11kind : pipeline
2- type : docker
2+ type : exec
33name : linux-amd64
44
55platform :
@@ -8,9 +8,6 @@ platform:
88
99steps :
1010- name : test
11- image : docker.io/drycc/go-dev
12- pull : always
13- privileged : true
1411 commands :
1512 - make test docker-build-test upload-coverage
1613 environment :
@@ -24,14 +21,8 @@ steps:
2421 - push
2522 - tag
2623 - pull_request
27- volumes :
28- - name : image_registries
29- path : /etc/containers/registries.conf
3024
3125- name : publish
32- image : docker.io/drycc/go-dev
33- pull : always
34- privileged : true
3526 commands :
3627 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
3728 - make docker-build docker-immutable-push
@@ -49,24 +40,16 @@ steps:
4940 event :
5041 - push
5142 - tag
52- volumes :
53- - name : image_registries
54- path : /etc/containers/registries.conf
5543
5644trigger :
5745 event :
5846 - push
5947 - tag
6048 - pull_request
6149
62- volumes :
63- - name : image_registries
64- host :
65- path : /etc/containers/registries.conf
66-
6750---
6851kind : pipeline
69- type : docker
52+ type : exec
7053name : linux-arm64
7154
7255platform :
@@ -75,9 +58,6 @@ platform:
7558
7659steps :
7760- name : publish
78- image : docker.io/drycc/go-dev
79- pull : always
80- privileged : true
8161 commands :
8262 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
8363 - make docker-build docker-immutable-push
@@ -91,20 +71,12 @@ steps:
9171 from_secret : docker_username
9272 DOCKER_PASSWORD :
9373 from_secret : docker_password
94- volumes :
95- - name : image_registries
96- path : /etc/containers/registries.conf
9774
9875trigger :
9976 event :
10077 - push
10178 - tag
10279
103- volumes :
104- - name : image_registries
105- host :
106- path : /etc/containers/registries.conf
107-
10880---
10981kind : pipeline
11082type : docker
@@ -145,12 +117,11 @@ depends_on:
145117
146118---
147119kind : pipeline
148- type : docker
120+ type : exec
149121name : chart
150122
151123steps :
152124- name : generate chart
153- image : docker.io/drycc/python-dev
154125 commands :
155126 - IMAGE_TAG=$([ ! -z $DRONE_TAG ] && echo \"${DRONE_TAG:1}\" || echo \"canary\")
156127 - sed -i "s/image_tag:\ \"canary\"/image_tag:\ $IMAGE_TAG/g" charts/controller/values.yaml
0 commit comments