rake-compiler-dock 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,9 +14,9 @@ concurrency:
14
14
 
15
15
  jobs:
16
16
 
17
- aarch64-linux-musl:
18
- name: "build aarch64-linux-musl ${{ matrix.os }}"
19
- needs: common-7f790bc
17
+ common-8c26987:
18
+ name: "build common-8c26987 ${{ matrix.os }}"
19
+
20
20
  strategy:
21
21
  fail-fast: false
22
22
  matrix:
@@ -31,30 +31,37 @@ jobs:
31
31
  with:
32
32
  ruby-version: "3.4"
33
33
  bundler-cache: true
34
+ - uses: docker/login-action@v3
35
+ with:
36
+ registry: ghcr.io
37
+ username: ${{github.actor}}
38
+ password: ${{secrets.GITHUB_TOKEN}}
34
39
 
35
40
  - name: Fetch docker buildx layer cache
36
41
  uses: actions/cache@v4
37
42
  with:
38
43
  path: tmp/build-cache-${{ runner.arch }}
39
- key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-musl-${{ github.sha }}
44
+ key: ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987-${{ github.sha }}
40
45
  restore-keys: |
41
- ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-musl
42
- ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
46
+ ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
47
+ ${{ runner.os }}-on-${{ runner.arch }}-
43
48
  enableCrossOsArchive: true
44
- - name: Build the image layers aarch64-linux-musl on ${{ runner.arch }}
49
+
50
+
51
+ - name: Build the image layers common-8c26987 on ${{ runner.arch }}
45
52
  env:
46
53
  RCD_TASK_DEPENDENCIES: "false"
47
54
  run: |
48
55
  # Change docker to a cache-able driver
49
56
  docker buildx create --driver docker-container --use
50
- bundle exec rake build:common-723ac6e RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
57
+ bundle exec rake build:common-8c26987 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new "
51
58
  - name: Update and prune docker buildx layer cache
52
59
  run: |
53
60
  rm -rf tmp/build-cache-${{ runner.arch }}
54
61
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
55
62
 
56
- common-7f790bc:
57
- name: "build common-7f790bc ${{ matrix.os }}"
63
+ aarch64-linux-gnu:
64
+ name: "build aarch64-linux-gnu ${{ matrix.os }}"
58
65
  needs: common-8c26987
59
66
  strategy:
60
67
  fail-fast: false
@@ -70,31 +77,38 @@ jobs:
70
77
  with:
71
78
  ruby-version: "3.4"
72
79
  bundler-cache: true
80
+ - uses: docker/login-action@v3
81
+ with:
82
+ registry: ghcr.io
83
+ username: ${{github.actor}}
84
+ password: ${{secrets.GITHUB_TOKEN}}
73
85
 
74
86
  - name: Fetch docker buildx layer cache
75
87
  uses: actions/cache@v4
76
88
  with:
77
89
  path: tmp/build-cache-${{ runner.arch }}
78
- key: ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc-${{ github.sha }}
90
+ key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-gnu-${{ github.sha }}
79
91
  restore-keys: |
80
- ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
92
+ ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-gnu
81
93
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
82
94
  enableCrossOsArchive: true
83
- - name: Build the image layers common-7f790bc on ${{ runner.arch }}
95
+
96
+
97
+ - name: Build the image layers aarch64-linux-gnu on ${{ runner.arch }}
84
98
  env:
85
99
  RCD_TASK_DEPENDENCIES: "false"
86
100
  run: |
87
101
  # Change docker to a cache-able driver
88
102
  docker buildx create --driver docker-container --use
89
- bundle exec rake build:common-7f790bc RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
103
+ bundle exec rake build:common-b45d14a RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-aarch64-linux-gnu-${{ runner.arch }} --push"
90
104
  - name: Update and prune docker buildx layer cache
91
105
  run: |
92
106
  rm -rf tmp/build-cache-${{ runner.arch }}
93
107
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
94
108
 
95
- arm-linux-musl:
96
- name: "build arm-linux-musl ${{ matrix.os }}"
97
- needs: common-7f790bc
109
+ common-7f790bc:
110
+ name: "build common-7f790bc ${{ matrix.os }}"
111
+ needs: common-8c26987
98
112
  strategy:
99
113
  fail-fast: false
100
114
  matrix:
@@ -109,30 +123,37 @@ jobs:
109
123
  with:
110
124
  ruby-version: "3.4"
111
125
  bundler-cache: true
126
+ - uses: docker/login-action@v3
127
+ with:
128
+ registry: ghcr.io
129
+ username: ${{github.actor}}
130
+ password: ${{secrets.GITHUB_TOKEN}}
112
131
 
113
132
  - name: Fetch docker buildx layer cache
114
133
  uses: actions/cache@v4
115
134
  with:
116
135
  path: tmp/build-cache-${{ runner.arch }}
117
- key: ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-musl-${{ github.sha }}
136
+ key: ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc-${{ github.sha }}
118
137
  restore-keys: |
119
- ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-musl
120
138
  ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
139
+ ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
121
140
  enableCrossOsArchive: true
122
- - name: Build the image layers arm-linux-musl on ${{ runner.arch }}
141
+
142
+
143
+ - name: Build the image layers common-7f790bc on ${{ runner.arch }}
123
144
  env:
124
145
  RCD_TASK_DEPENDENCIES: "false"
125
146
  run: |
126
147
  # Change docker to a cache-able driver
127
148
  docker buildx create --driver docker-container --use
128
- bundle exec rake build:common-fbc527a RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
149
+ bundle exec rake build:common-7f790bc RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new "
129
150
  - name: Update and prune docker buildx layer cache
130
151
  run: |
131
152
  rm -rf tmp/build-cache-${{ runner.arch }}
132
153
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
133
154
 
134
- x86-linux-musl:
135
- name: "build x86-linux-musl ${{ matrix.os }}"
155
+ aarch64-linux-musl:
156
+ name: "build aarch64-linux-musl ${{ matrix.os }}"
136
157
  needs: common-7f790bc
137
158
  strategy:
138
159
  fail-fast: false
@@ -148,30 +169,37 @@ jobs:
148
169
  with:
149
170
  ruby-version: "3.4"
150
171
  bundler-cache: true
172
+ - uses: docker/login-action@v3
173
+ with:
174
+ registry: ghcr.io
175
+ username: ${{github.actor}}
176
+ password: ${{secrets.GITHUB_TOKEN}}
151
177
 
152
178
  - name: Fetch docker buildx layer cache
153
179
  uses: actions/cache@v4
154
180
  with:
155
181
  path: tmp/build-cache-${{ runner.arch }}
156
- key: ${{ runner.os }}-on-${{ runner.arch }}-x86-linux-musl-${{ github.sha }}
182
+ key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-musl-${{ github.sha }}
157
183
  restore-keys: |
158
- ${{ runner.os }}-on-${{ runner.arch }}-x86-linux-musl
184
+ ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-musl
159
185
  ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
160
186
  enableCrossOsArchive: true
161
- - name: Build the image layers x86-linux-musl on ${{ runner.arch }}
187
+
188
+
189
+ - name: Build the image layers aarch64-linux-musl on ${{ runner.arch }}
162
190
  env:
163
191
  RCD_TASK_DEPENDENCIES: "false"
164
192
  run: |
165
193
  # Change docker to a cache-able driver
166
194
  docker buildx create --driver docker-container --use
167
- bundle exec rake build:common-63da253 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
195
+ bundle exec rake build:common-723ac6e RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-aarch64-linux-musl-${{ runner.arch }} --push"
168
196
  - name: Update and prune docker buildx layer cache
169
197
  run: |
170
198
  rm -rf tmp/build-cache-${{ runner.arch }}
171
199
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
172
200
 
173
- x86_64-linux-musl:
174
- name: "build x86_64-linux-musl ${{ matrix.os }}"
201
+ arm-linux-musl:
202
+ name: "build arm-linux-musl ${{ matrix.os }}"
175
203
  needs: common-7f790bc
176
204
  strategy:
177
205
  fail-fast: false
@@ -187,31 +215,38 @@ jobs:
187
215
  with:
188
216
  ruby-version: "3.4"
189
217
  bundler-cache: true
218
+ - uses: docker/login-action@v3
219
+ with:
220
+ registry: ghcr.io
221
+ username: ${{github.actor}}
222
+ password: ${{secrets.GITHUB_TOKEN}}
190
223
 
191
224
  - name: Fetch docker buildx layer cache
192
225
  uses: actions/cache@v4
193
226
  with:
194
227
  path: tmp/build-cache-${{ runner.arch }}
195
- key: ${{ runner.os }}-on-${{ runner.arch }}-x86_64-linux-musl-${{ github.sha }}
228
+ key: ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-musl-${{ github.sha }}
196
229
  restore-keys: |
197
- ${{ runner.os }}-on-${{ runner.arch }}-x86_64-linux-musl
230
+ ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-musl
198
231
  ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
199
232
  enableCrossOsArchive: true
200
- - name: Build the image layers x86_64-linux-musl on ${{ runner.arch }}
233
+
234
+
235
+ - name: Build the image layers arm-linux-musl on ${{ runner.arch }}
201
236
  env:
202
237
  RCD_TASK_DEPENDENCIES: "false"
203
238
  run: |
204
239
  # Change docker to a cache-able driver
205
240
  docker buildx create --driver docker-container --use
206
- bundle exec rake build:common-dc7239b RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
241
+ bundle exec rake build:common-fbc527a RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-arm-linux-musl-${{ runner.arch }} --push"
207
242
  - name: Update and prune docker buildx layer cache
208
243
  run: |
209
244
  rm -rf tmp/build-cache-${{ runner.arch }}
210
245
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
211
246
 
212
- arm64-darwin:
213
- name: "build arm64-darwin ${{ matrix.os }}"
214
- needs: common-d1f4370
247
+ x86-linux-musl:
248
+ name: "build x86-linux-musl ${{ matrix.os }}"
249
+ needs: common-7f790bc
215
250
  strategy:
216
251
  fail-fast: false
217
252
  matrix:
@@ -226,31 +261,38 @@ jobs:
226
261
  with:
227
262
  ruby-version: "3.4"
228
263
  bundler-cache: true
264
+ - uses: docker/login-action@v3
265
+ with:
266
+ registry: ghcr.io
267
+ username: ${{github.actor}}
268
+ password: ${{secrets.GITHUB_TOKEN}}
229
269
 
230
270
  - name: Fetch docker buildx layer cache
231
271
  uses: actions/cache@v4
232
272
  with:
233
273
  path: tmp/build-cache-${{ runner.arch }}
234
- key: ${{ runner.os }}-on-${{ runner.arch }}-arm64-darwin-${{ github.sha }}
274
+ key: ${{ runner.os }}-on-${{ runner.arch }}-x86-linux-musl-${{ github.sha }}
235
275
  restore-keys: |
236
- ${{ runner.os }}-on-${{ runner.arch }}-arm64-darwin
237
- ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
276
+ ${{ runner.os }}-on-${{ runner.arch }}-x86-linux-musl
277
+ ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
238
278
  enableCrossOsArchive: true
239
- - name: Build the image layers arm64-darwin on ${{ runner.arch }}
279
+
280
+
281
+ - name: Build the image layers x86-linux-musl on ${{ runner.arch }}
240
282
  env:
241
283
  RCD_TASK_DEPENDENCIES: "false"
242
284
  run: |
243
285
  # Change docker to a cache-able driver
244
286
  docker buildx create --driver docker-container --use
245
- bundle exec rake build:common-2829589 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
287
+ bundle exec rake build:common-63da253 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86-linux-musl-${{ runner.arch }} --push"
246
288
  - name: Update and prune docker buildx layer cache
247
289
  run: |
248
290
  rm -rf tmp/build-cache-${{ runner.arch }}
249
291
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
250
292
 
251
- common-d1f4370:
252
- name: "build common-d1f4370 ${{ matrix.os }}"
253
- needs: common-8c26987
293
+ x86_64-linux-musl:
294
+ name: "build x86_64-linux-musl ${{ matrix.os }}"
295
+ needs: common-7f790bc
254
296
  strategy:
255
297
  fail-fast: false
256
298
  matrix:
@@ -265,31 +307,38 @@ jobs:
265
307
  with:
266
308
  ruby-version: "3.4"
267
309
  bundler-cache: true
310
+ - uses: docker/login-action@v3
311
+ with:
312
+ registry: ghcr.io
313
+ username: ${{github.actor}}
314
+ password: ${{secrets.GITHUB_TOKEN}}
268
315
 
269
316
  - name: Fetch docker buildx layer cache
270
317
  uses: actions/cache@v4
271
318
  with:
272
319
  path: tmp/build-cache-${{ runner.arch }}
273
- key: ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370-${{ github.sha }}
320
+ key: ${{ runner.os }}-on-${{ runner.arch }}-x86_64-linux-musl-${{ github.sha }}
274
321
  restore-keys: |
275
- ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
276
- ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
322
+ ${{ runner.os }}-on-${{ runner.arch }}-x86_64-linux-musl
323
+ ${{ runner.os }}-on-${{ runner.arch }}-common-7f790bc
277
324
  enableCrossOsArchive: true
278
- - name: Build the image layers common-d1f4370 on ${{ runner.arch }}
325
+
326
+
327
+ - name: Build the image layers x86_64-linux-musl on ${{ runner.arch }}
279
328
  env:
280
329
  RCD_TASK_DEPENDENCIES: "false"
281
330
  run: |
282
331
  # Change docker to a cache-able driver
283
332
  docker buildx create --driver docker-container --use
284
- bundle exec rake build:common-d1f4370 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
333
+ bundle exec rake build:common-dc7239b RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-linux-musl-${{ runner.arch }} --push"
285
334
  - name: Update and prune docker buildx layer cache
286
335
  run: |
287
336
  rm -rf tmp/build-cache-${{ runner.arch }}
288
337
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
289
338
 
290
- x86_64-darwin:
291
- name: "build x86_64-darwin ${{ matrix.os }}"
292
- needs: common-d1f4370
339
+ aarch64-mingw-ucrt:
340
+ name: "build aarch64-mingw-ucrt ${{ matrix.os }}"
341
+ needs: common-8c26987
293
342
  strategy:
294
343
  fail-fast: false
295
344
  matrix:
@@ -304,30 +353,37 @@ jobs:
304
353
  with:
305
354
  ruby-version: "3.4"
306
355
  bundler-cache: true
356
+ - uses: docker/login-action@v3
357
+ with:
358
+ registry: ghcr.io
359
+ username: ${{github.actor}}
360
+ password: ${{secrets.GITHUB_TOKEN}}
307
361
 
308
362
  - name: Fetch docker buildx layer cache
309
363
  uses: actions/cache@v4
310
364
  with:
311
365
  path: tmp/build-cache-${{ runner.arch }}
312
- key: ${{ runner.os }}-on-${{ runner.arch }}-x86_64-darwin-${{ github.sha }}
366
+ key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-mingw-ucrt-${{ github.sha }}
313
367
  restore-keys: |
314
- ${{ runner.os }}-on-${{ runner.arch }}-x86_64-darwin
315
- ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
368
+ ${{ runner.os }}-on-${{ runner.arch }}-aarch64-mingw-ucrt
369
+ ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
316
370
  enableCrossOsArchive: true
317
- - name: Build the image layers x86_64-darwin on ${{ runner.arch }}
371
+
372
+
373
+ - name: Build the image layers aarch64-mingw-ucrt on ${{ runner.arch }}
318
374
  env:
319
375
  RCD_TASK_DEPENDENCIES: "false"
320
376
  run: |
321
377
  # Change docker to a cache-able driver
322
378
  docker buildx create --driver docker-container --use
323
- bundle exec rake build:common-bc54075 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
379
+ bundle exec rake build:common-2378386 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-aarch64-mingw-ucrt-${{ runner.arch }} --push"
324
380
  - name: Update and prune docker buildx layer cache
325
381
  run: |
326
382
  rm -rf tmp/build-cache-${{ runner.arch }}
327
383
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
328
384
 
329
- aarch64-linux-gnu:
330
- name: "build aarch64-linux-gnu ${{ matrix.os }}"
385
+ arm-linux-gnu:
386
+ name: "build arm-linux-gnu ${{ matrix.os }}"
331
387
  needs: common-8c26987
332
388
  strategy:
333
389
  fail-fast: false
@@ -343,31 +399,38 @@ jobs:
343
399
  with:
344
400
  ruby-version: "3.4"
345
401
  bundler-cache: true
402
+ - uses: docker/login-action@v3
403
+ with:
404
+ registry: ghcr.io
405
+ username: ${{github.actor}}
406
+ password: ${{secrets.GITHUB_TOKEN}}
346
407
 
347
408
  - name: Fetch docker buildx layer cache
348
409
  uses: actions/cache@v4
349
410
  with:
350
411
  path: tmp/build-cache-${{ runner.arch }}
351
- key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-gnu-${{ github.sha }}
412
+ key: ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-gnu-${{ github.sha }}
352
413
  restore-keys: |
353
- ${{ runner.os }}-on-${{ runner.arch }}-aarch64-linux-gnu
414
+ ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-gnu
354
415
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
355
416
  enableCrossOsArchive: true
356
- - name: Build the image layers aarch64-linux-gnu on ${{ runner.arch }}
417
+
418
+
419
+ - name: Build the image layers arm-linux-gnu on ${{ runner.arch }}
357
420
  env:
358
421
  RCD_TASK_DEPENDENCIES: "false"
359
422
  run: |
360
423
  # Change docker to a cache-able driver
361
424
  docker buildx create --driver docker-container --use
362
- bundle exec rake build:common-b45d14a RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
425
+ bundle exec rake build:common-8fd4771 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-arm-linux-gnu-${{ runner.arch }} --push"
363
426
  - name: Update and prune docker buildx layer cache
364
427
  run: |
365
428
  rm -rf tmp/build-cache-${{ runner.arch }}
366
429
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
367
430
 
368
- common-8c26987:
369
- name: "build common-8c26987 ${{ matrix.os }}"
370
- needs: common-8a6d861
431
+ common-d1f4370:
432
+ name: "build common-d1f4370 ${{ matrix.os }}"
433
+ needs: common-8c26987
371
434
  strategy:
372
435
  fail-fast: false
373
436
  matrix:
@@ -382,31 +445,38 @@ jobs:
382
445
  with:
383
446
  ruby-version: "3.4"
384
447
  bundler-cache: true
448
+ - uses: docker/login-action@v3
449
+ with:
450
+ registry: ghcr.io
451
+ username: ${{github.actor}}
452
+ password: ${{secrets.GITHUB_TOKEN}}
385
453
 
386
454
  - name: Fetch docker buildx layer cache
387
455
  uses: actions/cache@v4
388
456
  with:
389
457
  path: tmp/build-cache-${{ runner.arch }}
390
- key: ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987-${{ github.sha }}
458
+ key: ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370-${{ github.sha }}
391
459
  restore-keys: |
460
+ ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
392
461
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
393
- ${{ runner.os }}-on-${{ runner.arch }}-common-8a6d861
394
462
  enableCrossOsArchive: true
395
- - name: Build the image layers common-8c26987 on ${{ runner.arch }}
463
+
464
+
465
+ - name: Build the image layers common-d1f4370 on ${{ runner.arch }}
396
466
  env:
397
467
  RCD_TASK_DEPENDENCIES: "false"
398
468
  run: |
399
469
  # Change docker to a cache-able driver
400
470
  docker buildx create --driver docker-container --use
401
- bundle exec rake build:common-8c26987 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
471
+ bundle exec rake build:common-d1f4370 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new "
402
472
  - name: Update and prune docker buildx layer cache
403
473
  run: |
404
474
  rm -rf tmp/build-cache-${{ runner.arch }}
405
475
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
406
476
 
407
- aarch64-mingw-ucrt:
408
- name: "build aarch64-mingw-ucrt ${{ matrix.os }}"
409
- needs: common-8c26987
477
+ arm64-darwin:
478
+ name: "build arm64-darwin ${{ matrix.os }}"
479
+ needs: common-d1f4370
410
480
  strategy:
411
481
  fail-fast: false
412
482
  matrix:
@@ -421,31 +491,38 @@ jobs:
421
491
  with:
422
492
  ruby-version: "3.4"
423
493
  bundler-cache: true
494
+ - uses: docker/login-action@v3
495
+ with:
496
+ registry: ghcr.io
497
+ username: ${{github.actor}}
498
+ password: ${{secrets.GITHUB_TOKEN}}
424
499
 
425
500
  - name: Fetch docker buildx layer cache
426
501
  uses: actions/cache@v4
427
502
  with:
428
503
  path: tmp/build-cache-${{ runner.arch }}
429
- key: ${{ runner.os }}-on-${{ runner.arch }}-aarch64-mingw-ucrt-${{ github.sha }}
504
+ key: ${{ runner.os }}-on-${{ runner.arch }}-arm64-darwin-${{ github.sha }}
430
505
  restore-keys: |
431
- ${{ runner.os }}-on-${{ runner.arch }}-aarch64-mingw-ucrt
432
- ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
506
+ ${{ runner.os }}-on-${{ runner.arch }}-arm64-darwin
507
+ ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
433
508
  enableCrossOsArchive: true
434
- - name: Build the image layers aarch64-mingw-ucrt on ${{ runner.arch }}
509
+
510
+
511
+ - name: Build the image layers arm64-darwin on ${{ runner.arch }}
435
512
  env:
436
513
  RCD_TASK_DEPENDENCIES: "false"
437
514
  run: |
438
515
  # Change docker to a cache-able driver
439
516
  docker buildx create --driver docker-container --use
440
- bundle exec rake build:common-2378386 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
517
+ bundle exec rake build:common-2829589 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-arm64-darwin-${{ runner.arch }} --push"
441
518
  - name: Update and prune docker buildx layer cache
442
519
  run: |
443
520
  rm -rf tmp/build-cache-${{ runner.arch }}
444
521
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
445
522
 
446
- arm-linux-gnu:
447
- name: "build arm-linux-gnu ${{ matrix.os }}"
448
- needs: common-8c26987
523
+ x86_64-darwin:
524
+ name: "build x86_64-darwin ${{ matrix.os }}"
525
+ needs: common-d1f4370
449
526
  strategy:
450
527
  fail-fast: false
451
528
  matrix:
@@ -460,23 +537,30 @@ jobs:
460
537
  with:
461
538
  ruby-version: "3.4"
462
539
  bundler-cache: true
540
+ - uses: docker/login-action@v3
541
+ with:
542
+ registry: ghcr.io
543
+ username: ${{github.actor}}
544
+ password: ${{secrets.GITHUB_TOKEN}}
463
545
 
464
546
  - name: Fetch docker buildx layer cache
465
547
  uses: actions/cache@v4
466
548
  with:
467
549
  path: tmp/build-cache-${{ runner.arch }}
468
- key: ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-gnu-${{ github.sha }}
550
+ key: ${{ runner.os }}-on-${{ runner.arch }}-x86_64-darwin-${{ github.sha }}
469
551
  restore-keys: |
470
- ${{ runner.os }}-on-${{ runner.arch }}-arm-linux-gnu
471
- ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
552
+ ${{ runner.os }}-on-${{ runner.arch }}-x86_64-darwin
553
+ ${{ runner.os }}-on-${{ runner.arch }}-common-d1f4370
472
554
  enableCrossOsArchive: true
473
- - name: Build the image layers arm-linux-gnu on ${{ runner.arch }}
555
+
556
+
557
+ - name: Build the image layers x86_64-darwin on ${{ runner.arch }}
474
558
  env:
475
559
  RCD_TASK_DEPENDENCIES: "false"
476
560
  run: |
477
561
  # Change docker to a cache-able driver
478
562
  docker buildx create --driver docker-container --use
479
- bundle exec rake build:common-8fd4771 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
563
+ bundle exec rake build:common-bc54075 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-darwin-${{ runner.arch }} --push"
480
564
  - name: Update and prune docker buildx layer cache
481
565
  run: |
482
566
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -499,6 +583,11 @@ jobs:
499
583
  with:
500
584
  ruby-version: "3.4"
501
585
  bundler-cache: true
586
+ - uses: docker/login-action@v3
587
+ with:
588
+ registry: ghcr.io
589
+ username: ${{github.actor}}
590
+ password: ${{secrets.GITHUB_TOKEN}}
502
591
 
503
592
  - name: Fetch docker buildx layer cache
504
593
  uses: actions/cache@v4
@@ -509,13 +598,15 @@ jobs:
509
598
  ${{ runner.os }}-on-${{ runner.arch }}-x64-mingw-ucrt
510
599
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
511
600
  enableCrossOsArchive: true
601
+
602
+
512
603
  - name: Build the image layers x64-mingw-ucrt on ${{ runner.arch }}
513
604
  env:
514
605
  RCD_TASK_DEPENDENCIES: "false"
515
606
  run: |
516
607
  # Change docker to a cache-able driver
517
608
  docker buildx create --driver docker-container --use
518
- bundle exec rake build:common-fad6604 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
609
+ bundle exec rake build:common-fad6604 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x64-mingw-ucrt-${{ runner.arch }} --push"
519
610
  - name: Update and prune docker buildx layer cache
520
611
  run: |
521
612
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -538,6 +629,11 @@ jobs:
538
629
  with:
539
630
  ruby-version: "3.4"
540
631
  bundler-cache: true
632
+ - uses: docker/login-action@v3
633
+ with:
634
+ registry: ghcr.io
635
+ username: ${{github.actor}}
636
+ password: ${{secrets.GITHUB_TOKEN}}
541
637
 
542
638
  - name: Fetch docker buildx layer cache
543
639
  uses: actions/cache@v4
@@ -548,13 +644,15 @@ jobs:
548
644
  ${{ runner.os }}-on-${{ runner.arch }}-x64-mingw32
549
645
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
550
646
  enableCrossOsArchive: true
647
+
648
+
551
649
  - name: Build the image layers x64-mingw32 on ${{ runner.arch }}
552
650
  env:
553
651
  RCD_TASK_DEPENDENCIES: "false"
554
652
  run: |
555
653
  # Change docker to a cache-able driver
556
654
  docker buildx create --driver docker-container --use
557
- bundle exec rake build:common-c435c44 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
655
+ bundle exec rake build:common-c435c44 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x64-mingw32-${{ runner.arch }} --push"
558
656
  - name: Update and prune docker buildx layer cache
559
657
  run: |
560
658
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -577,6 +675,11 @@ jobs:
577
675
  with:
578
676
  ruby-version: "3.4"
579
677
  bundler-cache: true
678
+ - uses: docker/login-action@v3
679
+ with:
680
+ registry: ghcr.io
681
+ username: ${{github.actor}}
682
+ password: ${{secrets.GITHUB_TOKEN}}
580
683
 
581
684
  - name: Fetch docker buildx layer cache
582
685
  uses: actions/cache@v4
@@ -587,13 +690,15 @@ jobs:
587
690
  ${{ runner.os }}-on-${{ runner.arch }}-x86-linux-gnu
588
691
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
589
692
  enableCrossOsArchive: true
693
+
694
+
590
695
  - name: Build the image layers x86-linux-gnu on ${{ runner.arch }}
591
696
  env:
592
697
  RCD_TASK_DEPENDENCIES: "false"
593
698
  run: |
594
699
  # Change docker to a cache-able driver
595
700
  docker buildx create --driver docker-container --use
596
- bundle exec rake build:common-cda3746 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
701
+ bundle exec rake build:common-cda3746 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86-linux-gnu-${{ runner.arch }} --push"
597
702
  - name: Update and prune docker buildx layer cache
598
703
  run: |
599
704
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -616,6 +721,11 @@ jobs:
616
721
  with:
617
722
  ruby-version: "3.4"
618
723
  bundler-cache: true
724
+ - uses: docker/login-action@v3
725
+ with:
726
+ registry: ghcr.io
727
+ username: ${{github.actor}}
728
+ password: ${{secrets.GITHUB_TOKEN}}
619
729
 
620
730
  - name: Fetch docker buildx layer cache
621
731
  uses: actions/cache@v4
@@ -626,13 +736,15 @@ jobs:
626
736
  ${{ runner.os }}-on-${{ runner.arch }}-x86-mingw32
627
737
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
628
738
  enableCrossOsArchive: true
739
+
740
+
629
741
  - name: Build the image layers x86-mingw32 on ${{ runner.arch }}
630
742
  env:
631
743
  RCD_TASK_DEPENDENCIES: "false"
632
744
  run: |
633
745
  # Change docker to a cache-able driver
634
746
  docker buildx create --driver docker-container --use
635
- bundle exec rake build:common-697f3ca RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
747
+ bundle exec rake build:common-697f3ca RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86-mingw32-${{ runner.arch }} --push"
636
748
  - name: Update and prune docker buildx layer cache
637
749
  run: |
638
750
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -655,6 +767,11 @@ jobs:
655
767
  with:
656
768
  ruby-version: "3.4"
657
769
  bundler-cache: true
770
+ - uses: docker/login-action@v3
771
+ with:
772
+ registry: ghcr.io
773
+ username: ${{github.actor}}
774
+ password: ${{secrets.GITHUB_TOKEN}}
658
775
 
659
776
  - name: Fetch docker buildx layer cache
660
777
  uses: actions/cache@v4
@@ -665,52 +782,15 @@ jobs:
665
782
  ${{ runner.os }}-on-${{ runner.arch }}-x86_64-linux-gnu
666
783
  ${{ runner.os }}-on-${{ runner.arch }}-common-8c26987
667
784
  enableCrossOsArchive: true
668
- - name: Build the image layers x86_64-linux-gnu on ${{ runner.arch }}
669
- env:
670
- RCD_TASK_DEPENDENCIES: "false"
671
- run: |
672
- # Change docker to a cache-able driver
673
- docker buildx create --driver docker-container --use
674
- bundle exec rake build:common-7b065f9 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
675
- - name: Update and prune docker buildx layer cache
676
- run: |
677
- rm -rf tmp/build-cache-${{ runner.arch }}
678
- mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
679
785
 
680
- common-8a6d861:
681
- name: "build common-8a6d861 ${{ matrix.os }}"
682
-
683
- strategy:
684
- fail-fast: false
685
- matrix:
686
- os:
687
- - ubuntu-latest
688
- - ubuntu-24.04-arm
689
- runs-on: ${{ matrix.os }}
690
- steps:
691
- - uses: actions/checkout@v4
692
-
693
- - uses: ruby/setup-ruby@v1
694
- with:
695
- ruby-version: "3.4"
696
- bundler-cache: true
697
786
 
698
- - name: Fetch docker buildx layer cache
699
- uses: actions/cache@v4
700
- with:
701
- path: tmp/build-cache-${{ runner.arch }}
702
- key: ${{ runner.os }}-on-${{ runner.arch }}-common-8a6d861-${{ github.sha }}
703
- restore-keys: |
704
- ${{ runner.os }}-on-${{ runner.arch }}-common-8a6d861
705
- ${{ runner.os }}-on-${{ runner.arch }}-
706
- enableCrossOsArchive: true
707
- - name: Build the image layers common-8a6d861 on ${{ runner.arch }}
787
+ - name: Build the image layers x86_64-linux-gnu on ${{ runner.arch }}
708
788
  env:
709
789
  RCD_TASK_DEPENDENCIES: "false"
710
790
  run: |
711
791
  # Change docker to a cache-able driver
712
792
  docker buildx create --driver docker-container --use
713
- bundle exec rake build:common-8a6d861 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
793
+ bundle exec rake build:common-7b065f9 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-linux-gnu-${{ runner.arch }} --push"
714
794
  - name: Update and prune docker buildx layer cache
715
795
  run: |
716
796
  rm -rf tmp/build-cache-${{ runner.arch }}
@@ -718,7 +798,7 @@ jobs:
718
798
 
719
799
  jruby:
720
800
  name: "build jruby ${{ matrix.os }}"
721
- needs: common-8a6d861
801
+
722
802
  strategy:
723
803
  fail-fast: false
724
804
  matrix:
@@ -733,6 +813,11 @@ jobs:
733
813
  with:
734
814
  ruby-version: "3.4"
735
815
  bundler-cache: true
816
+ - uses: docker/login-action@v3
817
+ with:
818
+ registry: ghcr.io
819
+ username: ${{github.actor}}
820
+ password: ${{secrets.GITHUB_TOKEN}}
736
821
 
737
822
  - name: Fetch docker buildx layer cache
738
823
  uses: actions/cache@v4
@@ -741,79 +826,32 @@ jobs:
741
826
  key: ${{ runner.os }}-on-${{ runner.arch }}-jruby-${{ github.sha }}
742
827
  restore-keys: |
743
828
  ${{ runner.os }}-on-${{ runner.arch }}-jruby
744
- ${{ runner.os }}-on-${{ runner.arch }}-common-8a6d861
829
+ ${{ runner.os }}-on-${{ runner.arch }}-
745
830
  enableCrossOsArchive: true
831
+
832
+
746
833
  - name: Build the image layers jruby on ${{ runner.arch }}
747
834
  env:
748
835
  RCD_TASK_DEPENDENCIES: "false"
749
836
  run: |
750
837
  # Change docker to a cache-able driver
751
838
  docker buildx create --driver docker-container --use
752
- bundle exec rake build:common-58bf949 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
839
+ bundle exec rake build:common-58bf949 RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new -t ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-jruby-${{ runner.arch }} --push"
753
840
  - name: Update and prune docker buildx layer cache
754
841
  run: |
755
842
  rm -rf tmp/build-cache-${{ runner.arch }}
756
843
  mv tmp/build-cache-new tmp/build-cache-${{ runner.arch }}
757
844
 
758
845
 
759
- push:
760
- name: push
846
+ merge:
847
+ name: merge
761
848
  needs: [aarch64-linux-gnu,aarch64-linux-musl,aarch64-mingw-ucrt,arm-linux-gnu,arm-linux-musl,arm64-darwin,x64-mingw-ucrt,x64-mingw32,x86-linux-gnu,x86-linux-musl,x86-mingw32,x86_64-darwin,x86_64-linux-gnu,x86_64-linux-musl,jruby]
762
849
  strategy:
763
850
  fail-fast: false
764
- matrix:
765
- platform:
766
-
767
- - aarch64-linux-gnu
768
-
769
- - aarch64-linux-musl
770
-
771
- - aarch64-mingw-ucrt
772
-
773
- - arm-linux-gnu
774
-
775
- - arm-linux-musl
776
-
777
- - arm64-darwin
778
-
779
- - x64-mingw-ucrt
780
-
781
- - x64-mingw32
782
-
783
- - x86-linux-gnu
784
-
785
- - x86-linux-musl
786
-
787
- - x86-mingw32
788
-
789
- - x86_64-darwin
790
-
791
- - x86_64-linux-gnu
792
-
793
- - x86_64-linux-musl
794
-
795
- - jruby
796
-
797
851
  runs-on: ubuntu-24.04-arm
798
852
  steps:
799
853
  - uses: actions/checkout@v4
800
854
 
801
- - name: Use X64 cache from tree pipeline of ${{ matrix.platform }}
802
- uses: actions/cache/restore@v4
803
- with:
804
- path: tmp/build-cache-X64
805
- key: ${{ runner.os }}-on-X64-${{ matrix.platform }}-${{ github.sha }}
806
- restore-keys: ${{ runner.os }}-on-X64-${{ matrix.platform }}
807
- enableCrossOsArchive: true
808
- - name: Use ARM64 cache from tree pipeline of ${{ matrix.platform }}
809
- uses: actions/cache/restore@v4
810
- with:
811
- path: tmp/build-cache-ARM64
812
- key: ${{ runner.os }}-on-ARM64-${{ matrix.platform }}-${{ github.sha }}
813
- restore-keys: ${{ runner.os }}-on-ARM64-${{ matrix.platform }}
814
- enableCrossOsArchive: true
815
- fail-on-cache-miss: true
816
-
817
855
  - uses: ruby/setup-ruby@v1
818
856
  with:
819
857
  ruby-version: "3.4"
@@ -823,11 +861,11 @@ jobs:
823
861
  registry: ghcr.io
824
862
  username: ${{github.actor}}
825
863
  password: ${{secrets.GITHUB_TOKEN}}
826
- - name: Use cache and push docker image
864
+
865
+ - name: Merge pushed images and build a manifest for both host platform
866
+
827
867
  env:
828
868
  RCD_IMAGE_VERSION: snapshot
829
- RCD_DOCKER_BUILD: docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-X64 --cache-from=type=local,compression=zstd,src=tmp/build-cache-ARM64
830
- RCD_TASK_DEPENDENCIES: "false"
869
+
831
870
  run: |
832
- docker buildx create --driver docker-container --use
833
- bundle exec rake release:${{ matrix.platform }}
871
+ bundle exec rake release:manifests