Skip to content

Commit 0744f88

Browse files
author
David Zuckerman
committed
more build changes for buildx
1 parent 937d709 commit 0744f88

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
runner:
24-
- ubuntu-24.04
25-
- ubuntu-24.04-arm
23+
include:
24+
- platform: linux/amd64
25+
runner: ubuntu-24.04-arm
26+
- platform: linux/arm64
27+
runner: ubuntu-24.04-arm
2628
steps:
2729
- name: Checkout code
2830
uses: actions/checkout@v4
@@ -61,6 +63,7 @@ jobs:
6163
name: Build/push the arch-specific image
6264
uses: docker/build-push-action@v6
6365
with:
66+
platforms: ${{ matrix.platform }}
6467
cache-from: type=registry,ref=${{ steps.cache-meta.outputs.tags }}
6568
cache-to: type=registry,ref=${{ steps.cache-meta.outputs.tags }},mode=max
6669
labels: ${{ steps.build-meta.outputs.labels }}

0 commit comments

Comments
 (0)