Skip to content

Commit c2e812c

Browse files
build a cross-plat image
1 parent f03662c commit c2e812c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-time-server.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Checkout repository
3030
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3131

32+
- name: Set up QEMU
33+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
34+
3235
- name: Set up Docker Buildx
3336
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3437

@@ -53,6 +56,7 @@ jobs:
5356
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
5457
with:
5558
context: caching/accelerator/time_server
59+
platforms: linux/amd64,linux/arm64
5660
push: ${{ github.event_name != 'pull_request' }}
5761
tags: ${{ steps.meta.outputs.tags }}
5862
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)