20
20
jobs :
21
21
build_chat :
22
22
name : Push Chat Image
23
- runs-on : blacksmith-2vcpu-ubuntu-2204
23
+ runs-on : ${{ matrix.runner }}
24
+ strategy :
25
+ matrix :
26
+ runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
27
+ platform : [linux/amd64, linux/arm64]
28
+ exclude :
29
+ - runner : blacksmith-2vcpu-ubuntu-2204
30
+ platform : linux/arm64
31
+ - runner : blacksmith-2vcpu-ubuntu-2204-arm
32
+ platform : linux/amd64
24
33
steps :
25
34
- name : Checkout the repo
26
35
uses : actions/checkout@v4
51
60
- name : Build and push Docker image
52
61
uses :
useblacksmith/[email protected]
53
62
with :
54
- # platforms: linux/amd64,linux/arm64
63
+ platforms : ${{ matrix.platform }}
55
64
file : frontends/chat/Dockerfile
56
65
context : .
57
66
push : true
60
69
61
70
build_search :
62
71
name : Push Search Image
63
- runs-on : blacksmith-2vcpu-ubuntu-2204
72
+ runs-on : ${{ matrix.runner }}
73
+ strategy :
74
+ matrix :
75
+ runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
76
+ platform : [linux/amd64, linux/arm64]
77
+ exclude :
78
+ - runner : blacksmith-2vcpu-ubuntu-2204
79
+ platform : linux/arm64
80
+ - runner : blacksmith-2vcpu-ubuntu-2204-arm
81
+ platform : linux/amd64
64
82
steps :
65
83
- name : Checkout the repo
66
84
uses : actions/checkout@v4
91
109
- name : Build and push Docker image
92
110
uses :
useblacksmith/[email protected]
93
111
with :
94
- # platforms: linux/amd64,linux/arm64
112
+ platforms : ${{ matrix.platform }}
95
113
file : frontends/search/Dockerfile
96
114
context : .
97
115
push : true
@@ -100,7 +118,16 @@ jobs:
100
118
101
119
build_dashboard :
102
120
name : Push Dashboard Image
103
- runs-on : blacksmith-2vcpu-ubuntu-2204
121
+ runs-on : ${{ matrix.runner }}
122
+ strategy :
123
+ matrix :
124
+ runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
125
+ platform : [linux/amd64, linux/arm64]
126
+ exclude :
127
+ - runner : blacksmith-2vcpu-ubuntu-2204
128
+ platform : linux/arm64
129
+ - runner : blacksmith-2vcpu-ubuntu-2204-arm
130
+ platform : linux/amd64
104
131
steps :
105
132
- name : Checkout the repo
106
133
uses : actions/checkout@v4
@@ -131,7 +158,7 @@ jobs:
131
158
- name : Build and push Docker image
132
159
uses :
useblacksmith/[email protected]
133
160
with :
134
- # platforms: linux/amd64,linux/arm64
161
+ platforms : ${{ matrix.platform }}
135
162
file : frontends/dashboard/Dockerfile
136
163
context : .
137
164
push : true
0 commit comments