We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a907d35 commit 656b3ecCopy full SHA for 656b3ec
.github/workflows/build-and-publish.yml
@@ -26,6 +26,10 @@ jobs:
26
- name: Checkout repository
27
uses: actions/checkout@v4
28
29
+ # Add this step to set up QEMU for multi-arch builds
30
+ - name: Set up QEMU
31
+ uses: docker/setup-qemu-action@v3
32
+
33
- name: Set up Docker Buildx
34
uses: docker/setup-buildx-action@v3
35
@@ -53,6 +57,8 @@ jobs:
53
57
uses: docker/build-push-action@v5
54
58
with:
55
59
context: ./${{ matrix.service }}
60
+ # Add the platforms key to build for amd64 and arm64
61
+ platforms: linux/amd64, linux/arm64
56
62
push: ${{ github.event_name != 'pull_request' }}
63
tags: ${{ steps.meta.outputs.tags }}
64
labels: ${{ steps.meta.outputs.labels }}
@@ -91,4 +97,4 @@ jobs:
91
97
92
98
- name: Show logs if failed
93
99
if: failure()
94
- run: docker-compose logs
100
+ run: docker-compose logs
0 commit comments