Skip to content

Commit 31e21b3

Browse files
committed
ci: update Test Docker images build workflow with multi platform images support
1 parent 46df3f7 commit 31e21b3

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/test-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
run: ./mithril-client ${{ steps.prepare.outputs.debug_level }} --origin-tag CI cardano-db download $CDB_SNAPSHOT_DIGEST --backend v1 ${{ matrix.extra_args }} 2>&1 | tee cdb-download-output.txt
164164

165165
- name: Cardano Database Snapshot / verify Cardano node starts successfully
166-
if: runner.os == 'Linux'
166+
if: matrix.os == 'ubuntu-24.04'
167167
shell: bash
168168
run: .github/workflows/scripts/verify-cardano-db-restoration.sh ./bin/cdb-download-output.txt "${{ matrix.extra_args }}"
169169

.github/workflows/test-docker-distribution.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,26 @@ jobs:
7373
run: |
7474
git checkout ${{ inputs.commit_sha }}
7575
76+
- name: Set up QEMU
77+
uses: docker/setup-qemu-action@v3
78+
79+
- name: Set up Docker Buildx
80+
uses: docker/setup-buildx-action@v3
81+
7682
- name: Download built artifacts (Linux-x64)
7783
uses: dawidd6/action-download-artifact@v6
7884
with:
7985
name: mithril-distribution-Linux-X64
80-
path: ${{ matrix.project }}
86+
path: ${{ matrix.project }}/bin-linux-amd64
87+
commit: ${{ inputs.commit_sha }}
88+
workflow: ci.yml
89+
workflow_conclusion: completed
90+
91+
- name: Download built artifacts (Linux-ARM64)
92+
uses: dawidd6/action-download-artifact@v6
93+
with:
94+
name: mithril-distribution-Linux-ARM64
95+
path: ${{ matrix.project }}/bin-linux-arm64
8196
commit: ${{ inputs.commit_sha }}
8297
workflow: ci.yml
8398
workflow_conclusion: completed
@@ -108,3 +123,4 @@ jobs:
108123
CARDANO_BIN_URL=${{ inputs.cardano_bin_url }}
109124
push: ${{ inputs.dry_run == false }}
110125
tags: ${{ steps.meta.outputs.tags }}
126+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)