-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
113 lines (99 loc) · 1.63 KB
/
.drone.yml
File metadata and controls
113 lines (99 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
kind: pipeline
type: docker
name: ics amd64
platform:
os: linux
arch: amd64
environment:
DOCKER_BUILDKIT: 1
steps:
- name: Build cbix/ics
image: plugins/docker
settings:
repo: cbix/ics
tags: latest-amd64
username: cbix
password:
from_secret: docker-pass
when:
event:
- push
- name: Build cbix/ics on PR
image: plugins/docker
settings:
repo: cbix/ics
tags: latest-amd64
dry_run: true
when:
event:
- pull_request
trigger:
event:
- push
- pull_request
branch:
- main
---
kind: pipeline
type: docker
name: ics arm64
platform:
os: linux
arch: arm64
environment:
DOCKER_BUILDKIT: 1
steps:
- name: Build cbix/ics
image: plugins/docker
settings:
repo: cbix/ics
tags: latest-arm64
username: cbix
password:
from_secret: docker-pass
when:
event:
- push
- name: Build cbix/ics on PR
image: plugins/docker
settings:
repo: cbix/ics
tags: latest-arm64
dry_run: true
when:
event:
- pull_request
trigger:
event:
- push
- pull_request
branch:
- main
---
kind: pipeline
type: docker
name: ics manifest
clone:
disable: true
depends_on:
- ics amd64
- ics arm64
steps:
- name: cbix/ics manifest
image: plugins/manifest
settings:
target: cbix/ics:latest
template: cbix/ics:latest-ARCH
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
username: cbix
password:
from_secret: docker-pass
trigger:
event:
- push
branch:
- main