18
18
depends_on :
19
19
- test
20
20
21
- - name : publish_latest
21
+ - name : publish linux
22
22
image : plugins/docker
23
23
settings :
24
24
repo : drone/cli
@@ -32,23 +32,33 @@ steps:
32
32
event : [push, tag]
33
33
depends_on :
34
34
- build
35
-
36
- - name : publish_alpine
37
- image : plugins/docker
35
+
36
+ - name : release
37
+ image : plugins/github-release
38
38
settings :
39
- repo : drone/cli
40
- username :
41
- from_secret : docker_username
42
- password :
43
- from_secret : docker_password
44
- auto_tag : true
45
- auto_tag_suffix : alpine-amd64
46
- dockerfile : Dockerfile.alpine
39
+ files :
40
+ - release/drone_*.tar.gz
41
+ - release/drone_checksums.txt
42
+ api_key :
43
+ from_secret : github_token
47
44
when :
48
- event : [push, tag]
45
+ event : tag
49
46
depends_on :
50
47
- build
51
48
49
+ ---
50
+ kind : pipeline
51
+ type : vm
52
+ name : arm
53
+
54
+ pool :
55
+ use : ubuntu_arm64
56
+
57
+ steps :
58
+ - name : build
59
+ image : golang:1.18
60
+ commands :
61
+ - sh .drone.sh
52
62
- name : publish_linux_arm
53
63
image : plugins/docker
54
64
settings :
@@ -83,51 +93,31 @@ steps:
83
93
depends_on :
84
94
- build
85
95
86
- - name : publish_linux_ppc64le
87
- image : plugins/docker
88
- settings :
89
- repo : drone/cli
90
- username :
91
- from_secret : docker_username
92
- password :
93
- from_secret : docker_password
94
- auto_tag : true
95
- auto_tag_suffix : linux-ppc64le
96
- dockerfile : Dockerfile.linux.ppc64le
97
- when :
98
- event : [push, tag]
99
- depends_on :
100
- - build
96
+ depends_on :
97
+ - default
98
+
99
+ ---
100
+ kind : pipeline
101
+ type : vm
102
+ name : manifest
101
103
102
- - name : release
103
- image : plugins/github-release
104
- settings :
105
- files :
106
- - release/drone_*.tar.gz
107
- - release/drone_checksums.txt
108
- api_key :
109
- from_secret : github_token
110
- when :
111
- event : tag
112
- depends_on :
113
- - build
114
-
115
- - name : manifest
116
- image : plugins/manifest
117
- settings :
118
- auto_tag : true
119
- ignore_missing : true
120
- spec : docker/manifest.tmpl
121
- username :
122
- from_secret : docker_username
123
- password :
124
- from_secret : docker_password
125
- when :
126
- event : [push, tag]
127
- depends_on :
128
- - publish_latest
129
- - publish_alpine
130
- - publish_linux_arm
131
- - publish_linux_arm64
132
- - publish_linux_ppc64le
104
+ pool :
105
+ use : ubuntu
106
+
107
+ steps :
108
+ - name : manifest
109
+ image : plugins/manifest
110
+ settings :
111
+ auto_tag : true
112
+ ignore_missing : true
113
+ spec : docker/manifest.tmpl
114
+ username :
115
+ from_secret : docker_username
116
+ password :
117
+ from_secret : docker_password
118
+ when :
119
+ event : [push, tag]
133
120
121
+ depends_on :
122
+ - default
123
+ - arm
0 commit comments