-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
93 lines (80 loc) · 1.53 KB
/
.drone.yml
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
---
# AMD64 Build
kind: pipeline
type: docker
name: operator_amd64
platform:
arch: amd64
os: linux
steps:
- name: publish_backend_container
image: plugins/docker
settings:
debug: true
mtu: 1000
registry: harbor.0x01.host
dockerfile: Dockerfile
platform: linux/amd64
repo: harbor.0x01.host/library/squest-operator
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest-linux-amd64
trigger:
branch:
- main
# ARM64 Build
---
kind: pipeline
type: docker
name: operator_arm64
platform:
arch: arm64
os: linux
steps:
- name: publish_backend_container
image: plugins/docker
settings:
mtu: 1000
debug: true
registry: harbor.0x01.host
dockerfile: Dockerfile
platform: linux/arm64
repo: harbor.0x01.host/library/squest-operator
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest-linux-arm64
trigger:
branch:
- main
---
kind: pipeline
type: docker
name: push_manifest
clone:
disable: yes
steps:
- name: manifest
image: plugins/manifest
settings:
registry: harbor.0x01.host
username:
from_secret: docker_username
password:
from_secret: docker_password
target: harbor.0x01.host/library/squest-operator:latest
template: harbor.0x01.host/library/squest-operator:latest-OS-ARCH
platforms:
- linux/amd64
- linux/arm64
trigger:
branch:
- main
depends_on:
- operator_amd64
- operator_arm64