1
+ ---
2
+ kind : pipeline
3
+ name : linux-amd64
4
+
5
+ platform :
6
+ os : linux
7
+ arch : amd64
8
+
9
+ steps :
10
+ - name : build
11
+ image : plugins/docker:linux-amd64
12
+ settings :
13
+ dry_run : true
14
+ dockerfile : Dockerfile.ci
15
+ repo : stefanprodan/podinfo
16
+ tag : linux-amd64
17
+ when :
18
+ event :
19
+ - push
20
+ - pull_request
21
+
22
+ - name : push-commit
23
+ image : plugins/docker:linux-amd64
24
+ settings :
25
+ dockerfile : Dockerfile.arm
26
+ repo : stefanprodan/podinfo
27
+ tag : " amd64-${DRONE_COMMIT_SHA:0:8}"
28
+ username :
29
+ from_secret : DOCKER_USERNAME
30
+ password :
31
+ from_secret : DOCKER_PASSWORD
32
+ when :
33
+ branch :
34
+ - master
35
+
36
+ ---
37
+ kind : pipeline
38
+ name : linux-arm64
39
+
40
+ platform :
41
+ os : linux
42
+ arch : arm64
43
+
44
+ steps :
45
+ - name : build
46
+ image : plugins/docker:linux-arm64
47
+ settings :
48
+ dry_run : true
49
+ dockerfile : Dockerfile.arm
50
+ repo : stefanprodan/podinfo
51
+ tag : linux-arm64
52
+ when :
53
+ event :
54
+ - push
55
+ - pull_request
56
+
57
+ - name : push-commit
58
+ image : plugins/docker:linux-arm64
59
+ settings :
60
+ dockerfile : Dockerfile.arm
61
+ repo : stefanprodan/podinfo
62
+ tag : " arm64-${DRONE_COMMIT_SHA:0:8}"
63
+ username :
64
+ from_secret : DOCKER_USERNAME
65
+ password :
66
+ from_secret : DOCKER_PASSWORD
67
+ when :
68
+ branch :
69
+ - master
70
+
1
71
---
2
72
kind : pipeline
3
73
name : linux-arm
@@ -12,23 +82,23 @@ steps:
12
82
settings :
13
83
dry_run : true
14
84
dockerfile : Dockerfile.arm
15
- repo : stefanprodan/podinfo-arm
85
+ repo : stefanprodan/podinfo
16
86
tag : linux-arm
17
87
when :
18
88
event :
19
89
- push
20
90
- pull_request
21
91
22
- - name : push
92
+ - name : push-commit
23
93
image : plugins/docker:linux-arm
24
94
settings :
25
95
dockerfile : Dockerfile.arm
26
- repo : stefanprodan/podinfo-arm
27
- tag : " ${DRONE_COMMIT_SHA:0:8}"
96
+ repo : stefanprodan/podinfo
97
+ tag : " arm- ${DRONE_COMMIT_SHA:0:8}"
28
98
username :
29
99
from_secret : DOCKER_USERNAME
30
100
password :
31
101
from_secret : DOCKER_PASSWORD
32
102
when :
33
103
branch :
34
- - master
104
+ - master
0 commit comments