File tree 5 files changed +195
-1
lines changed
5 files changed +195
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ kind : pipeline
3
+ name : linux-amd64
4
+
5
+ platform :
6
+ os : linux
7
+ arch : amd64
8
+
9
+ steps :
10
+ - name : publish_image
11
+ image : plugins/docker
12
+ settings :
13
+ auto_tag : true
14
+ auto_tag_suffix : linux-amd64
15
+ dockerfile : Dockerfile
16
+ password :
17
+ from_secret : docker_password
18
+ repo : aptalca/zap2xml
19
+ username :
20
+ from_secret : docker_username
21
+ when :
22
+ event :
23
+ - push
24
+ - tag
25
+
26
+ ---
27
+ kind : pipeline
28
+ name : linux-arm
29
+
30
+ platform :
31
+ os : linux
32
+ arch : arm
33
+
34
+ steps :
35
+ - name : publish_image
36
+ image : plugins/docker
37
+ settings :
38
+ auto_tag : true
39
+ auto_tag_suffix : linux-arm
40
+ dockerfile : Dockerfile.arm
41
+ password :
42
+ from_secret : docker_password
43
+ repo : aptalca/zap2xml
44
+ username :
45
+ from_secret : docker_username
46
+ when :
47
+ event :
48
+ - push
49
+ - tag
50
+
51
+ ---
52
+ kind : pipeline
53
+ name : linux-arm64
54
+
55
+ platform :
56
+ os : linux
57
+ arch : arm64
58
+
59
+ steps :
60
+ - name : publish_image
61
+ image : plugins/docker
62
+ settings :
63
+ auto_tag : true
64
+ auto_tag_suffix : linux-arm64
65
+ dockerfile : Dockerfile.aarch64
66
+ password :
67
+ from_secret : docker_password
68
+ repo : aptalca/zap2xml
69
+ username :
70
+ from_secret : docker_username
71
+ when :
72
+ event :
73
+ - push
74
+ - tag
75
+
76
+ ---
77
+ kind : pipeline
78
+ name : manifest
79
+
80
+ platform :
81
+ os : linux
82
+ arch : amd64
83
+
84
+ steps :
85
+ - name : server
86
+ image : plugins/manifest
87
+ settings :
88
+ auto_tag : true
89
+ ignore_missing : true
90
+ password :
91
+ from_secret : docker_password
92
+ spec : manifest.tmpl
93
+ username :
94
+ from_secret : docker_username
95
+ when :
96
+ event :
97
+ - push
98
+ - tag
99
+
100
+ depends_on :
101
+ - linux-amd64
102
+ - linux-arm
103
+ - linux-arm64
104
+
105
+ ...
Original file line number Diff line number Diff line change 1
- FROM lsiobase/alpine:3.7
1
+ FROM lsiobase/alpine:3.9
2
2
MAINTAINER aptalca
3
3
4
4
# environment settings
Original file line number Diff line number Diff line change
1
+ FROM lsiobase/alpine.arm64:3.9
2
+ MAINTAINER aptalca
3
+
4
+ # environment settings
5
+ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
6
+
7
+ # install packages
8
+ RUN \
9
+ apk add --no-cache \
10
+ logrotate \
11
+ nano \
12
+ perl-compress-raw-zlib \
13
+ perl-gd \
14
+ perl-html-parser \
15
+ perl-http-cookies \
16
+ perl-json \
17
+ perl-json-maybexs \
18
+ perl-lwp-protocol-https \
19
+ perl-lwp-useragent-determined \
20
+ wget && \
21
+ apk add --no-cache \
22
+ --repository http://nl.alpinelinux.org/alpine/edge/testing \
23
+ perl-json-xs && \
24
+
25
+ # fix logrotate
26
+ sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf
27
+
28
+ # copy local files
29
+ COPY root/ /
30
+
31
+ # ports and volumes
32
+ VOLUME /config
Original file line number Diff line number Diff line change
1
+ FROM lsiobase/alpine.armhf:3.9
2
+ MAINTAINER aptalca
3
+
4
+ # environment settings
5
+ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
6
+
7
+ # install packages
8
+ RUN \
9
+ apk add --no-cache \
10
+ logrotate \
11
+ nano \
12
+ perl-compress-raw-zlib \
13
+ perl-gd \
14
+ perl-html-parser \
15
+ perl-http-cookies \
16
+ perl-json \
17
+ perl-json-maybexs \
18
+ perl-lwp-protocol-https \
19
+ perl-lwp-useragent-determined \
20
+ wget && \
21
+ apk add --no-cache \
22
+ --repository http://nl.alpinelinux.org/alpine/edge/testing \
23
+ perl-json-xs && \
24
+
25
+ # fix logrotate
26
+ sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf
27
+
28
+ # copy local files
29
+ COPY root/ /
30
+
31
+ # ports and volumes
32
+ VOLUME /config
Original file line number Diff line number Diff line change
1
+ image: aptalca/zap2xml:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
2
+ {{#if build.tags}}
3
+ tags:
4
+ {{#each build.tags}}
5
+ - {{this}}
6
+ {{/each}}
7
+ {{/if}}
8
+ manifests:
9
+ -
10
+ image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
11
+ platform:
12
+ architecture: amd64
13
+ os: linux
14
+ -
15
+ image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
16
+ platform:
17
+ architecture: arm64
18
+ os: linux
19
+ variant: v8
20
+ -
21
+ image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
22
+ platform:
23
+ architecture: arm
24
+ os: linux
25
+ variant: v7
You can’t perform that action at this time.
0 commit comments